Question: Rewrite the RISC programs in Problems 10-11 and 10-12, using NOPs to avoid all data and control hazards, and draw the new execution diagrams. Problem
Rewrite the RISC programs in Problems 10-11 and 10-12, using NOPs to avoid all data and control hazards, and draw the new execution diagrams.
Problem 10-11
For the RISC design, draw the execution diagram for the following RISC program, and indicate any data hazards that are present:

Problem 10-12
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 MOVA 2 SUB 3 AND R7, R6 R8, R8, R6 R8, R8, R7
Step by Step Solution
3.33 Rating (153 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
