Question: Q 4 : In a Six Stages Pipeline machine; consider the following program fragment: table [ [ I n s t r u c

Q4: In a Six Stages Pipeline machine; consider the following program fragment:
\table[[InstructionAddress,,Instruction],[300,,Code,],[302,SUB,CE_AQU,X, X],[304,MOV,Y,5,],[306,SUB,Y, X,],[308,BRZ,328,//Branch if O],[306,LD Z, M[W],,],[*,*,,],[*,*,,],[328,INC,X,],[330,ENDP,,]]
With Branch is resolved at the end of the El stage (fifth stage), calculate the following if;
A. Branch instruction is Not Taken:
Total # of instructions executed =
Total # of clock cycles required =
CPI =
B. Branch instruction is Taken:
Total # of instructions executed =
Total # of clock cycles required =
CPI =
The branch penalty? =
time cycles
 Q4: In a Six Stages Pipeline machine; consider the following program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!