If the second instruction from this table is fetched right after the instruction from the first table,

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 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)

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Computer Organization And Design The Hardware Software Interface

ISBN: 9780123747501

4th Revised Edition

Authors: David A. Patterson, John L. Hennessy

Question Posted: