Question: For the following code below: A: load R 1 , 0 ( R 0 ) / / ( R ) 1 = MEM [ R
For the following code below:
A: load RR R MEMR
B: store RR MEMR R
C: addi R R # R R
D: add R R R R R R
E: store RR MEMR R
F: load RR 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: WAR X 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
