The plus (+) indicates a more advanced problem and the asterisk (*) indicates that a solution is available on the Companion Website for the text.
*Rewrite the RISC programs in Problems 1 and 2, using NOPs to avoid all data and control hazards, and draw the new execution diagrams.
Problem 1
The plus (+) indicates a more advanced problem and the asterisk (*) indicates that a solution is available on the Companion Website for the text.
*For the RISC design, draw the execution diagram for the following RISC program, and indicate any data hazards that are present:
1 MOVA R7, R6
2 SUB R8, R8, R6
3 AND R8, R8, R7
Problem 2
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
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.