Question: If the second instruction from this table is fetched right after the instruction from the first table, describe what happens in the pipeline when the

If the second instruction from this table is fetched right after the instruction from the first table, describe what happens in the pipeline when the first instruction causes the first exception you listed in 4.25.1. Show the pipeline execution diagram from the time the first instruction is fetched until the time the first instruction of the exception handler is completed.

Exercise 4.25.1

Which exceptions can each of these instructions trigger? For each of these exceptions, specify the pipeline stage in which it is detected.


This exercise explores how exception handling affects pipeline design. The first three problems in this exercise refer to the following two instructions:a. b. Instruction 1 BNE R1, R2, Label JUMP Label Instruction 2 LW R1,0 (R1) SW R5,0 (R1)

a. b. Instruction 1 BNE R1, R2, Label JUMP Label Instruction 2 LW R1,0 (R1) SW R5,0 (R1)

Step by Step Solution

3.46 Rating (146 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

In order to describe the pipeline execution when the first instruction causes the first exception li... 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!