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)
Step by Step Solution
3.46 Rating (146 Votes )
There are 3 Steps involved in it
In order to describe the pipeline execution when the first instruction causes the first exception li... View full answer
Get step-by-step solutions from verified subject matter experts
