Operation counts for scalar operation

The code

for (i = 0; i < n; i++){
    a[i] = b[i] + c[i];
}

has for \( n \) repeats

  1. one load for \( c[i] \) in address 1
  2. one load for \( b[i] \) in address 2
  3. add \( c[i] \) and \( b[i] \) to give \( a[i] \)
  4. store \( a[i] \) in address 2