Question: For the following code below: A: load R 1 , 0 ( R 0 ) B: store R 2 , 1 6 ( R 0
For the following code below:
A: load RR
B: store RR
C: addi R R #
D: add
R R R
E: store RR
F: load RR
R MEMR
MEMR R
R R
R R R
MEMR R
R MEMR
Assume the following initial register content:
R
R
R
R
R
R
Assume that the memory initially contains zero value at all memory locations.
a List all register dependences and indicate their types. For example, if instruction X has write after read dependence with instruction Y write it in this format: WARX Y
b List all memory dependences and indicate their types. Use the same format as in part a
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
