Consider a 4 stage pipeline processor. The number of cycles needed by the four instructions I1, I2, I3, I4 in stages S1, S2, S3, S4 is shown below:

\"q48\"

What is the number of cycles needed to execute the following loop?

for (i = 1; i < = 1000; i++) 
    {I1, I2, I3, I4}

(A) 11 ns
(B) 12 ns
(C) 13 ns
(D) 28 ns


Answer: (C)

Explanation: 13 ns is correct answer.

\"\"

So, option (C) is correct.

Quiz of this Question


  • Last Updated : 26 Dec, 2018

Share your thoughts in the comments