Problem

Draw the execution diagram for the program in Problem, assuming the combination of the RIS...

Draw the execution diagram for the program in Problem, assuming the combination of the RISC CPU with branch prediction in Figure 1 and the RISC CPU with data forwarding in Figure 2.

Figure 1 Pipelined RISC: Branch Prediction

Figure 2 Pipeline RISC: Data Forwarding

Problem

For the RISC design, draw the execution diagram for the following RISC program (with the contents of R7 nonzero after the subtraction), and indicate any data or control hazards that are present:

1 SUB R7, R7, R2

2 BNZ R7, 000F

3 AND R8, R7, R4

4 OR R4, R8, R2

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 11