Question: What is the value in the EPC if the branch is taken but the delay slot causes an exception? What happens after the execution of

What is the value in the EPC if the branch is taken but the delay slot causes an exception? What happens after the execution of the exception handler is completed?


This exercise examines how exception handling interacts with branch and load/ store instructions. Problems in this exercise refer to the following branch instruction and the corresponding delay slot instruction:a. b. BEQ R5, R4, Label SLT R5, R15, R4 BEQ LW R1, RO, Label R1,0 (R1) Branch and Delay Slot

a. b. BEQ R5, R4, Label SLT R5, R15, R4 BEQ LW R1, RO, Label R1,0 (R1) Branch and Delay Slot

Step by Step Solution

3.47 Rating (177 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

In computer architecture the Exception Program Counter EPC is a register that holds the address of t... View full answer

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 Computer Organization Design Questions!