Q. 18 Consider a 4 stage pipeline processor. The number of cycles needed by the four
instructions 11, 12, 13, 14 in stages S1, S2, S3, S4 is shown below:
What is the number of cycles needed to execute the following loop?
for (i = 1to 2){I1; I2; I3; I4;}
(A) 16
(B) 23
(C) 28
(D) 30
Answer: (B)
Explanation: