By using the above code, answer the following questions:
Q.1 Identify each dependency by type; list the two instructions involved; identify which instruction is dependent; and name the storage location involved.
1. LD R1, 45(R2) INDEPENDENT
2. LD R3, 20(R1) Instruction 2 is dependent on 1 for the value of R1 (Data Depend)
3. ADD R7, R1, R5 Also Dependent on instruction 1 for the value of R1(Data Depend)
4. OR R1, R5, R2 dependent on 1 for operation to be completed (delay) R1
5. ADD R10, R8, R5 Independent
6. MUL R2, R3, R4 Dependent on 2 till value R3 to be written by 2 then modify R2 (Data dependence)
7. DIV R10, R0, R6 Dependent on 5 to complete Add operation then div (Delay) R10
8. MUL R3, R4 , R2 dependent on 6 to exe mul before (data dependence) R2
9. Sub R2, R3, R4 depend on 8 (delay) storage R2
10. St R4, 50 (R1) dependent on 1 (data dependence) storage involved R1