Rewrite the RISC programs in Problems 10-11 and 10-12, using NOPs to avoid all data and control
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 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:
Step by Step Answer:
Related Book For
Logic And Computer Design Fundamentals
ISBN: 9780133760637
5th Edition
Authors: M. Morris Mano, Charles Kime, Tom Martin
Question Posted: