4.20 Problem in this exercise refers to the following instruction sequence:
a. ADD R1, R2, R3
LW R2, 0(R1)
LW R1, 4(R1)
OR R3, R1, R2.
b. LW R1, 0(R1)
AND R1, R1, R2
LW R2, 0(R1)
LW R1, 0(R3).
4.20.1[5]<4.7> Find all data dependencies in this instruction sequence.
4.20.2[10]<4.7> Find all hazards in this sequence for a 5-stage pipeline with and then without forwarding.