Question: ( 1 0 points ) Consider the execution of the following sequence of four instructions on a five - stage pipelined processor which uses the
points Consider the execution of the following sequence of four instructions on a fivestage
pipelined processor which uses the alwaysnottaken strategy for branch prediction and has both
the forwarding unit and hazard detection unit.
add
sub
beq LABEL
Suppose the third instruction is detected to have an invalid target address and cause an exception
in the ID stage. Fill in the following table by showing what instructions are in the IF ID EX
MEM and WB stages. Note that each instruction in your answer should be one chosen from the
given four instructions, the NOP instruction or bubble and the first instruction of the exception
handler.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
