Question:

Instruction format has the following structure.Instruction number OPCODE destination Source 11 and Source 22.
I1:I_1: Div R3R1R2;R_3 R_1 R_2;
I2:I_2: Sub R5R3R4;R_5 R_3 R_4;
I3:I_3: Add R3R5R6;R_3 R_5 R_6;
I4:I_4: Mul R7R3R8;R_7 R_3 R_8;

Updated On: Feb 12, 2024
  • There is a RAW dependency on R3R_3 between I1I_1 and I2I_2

  • There is a RAW dependency on R3R_3 between I2I_2 and I3I_3

  • There is a WAW dependency on R3R_3 between I3I_3 and I4I_4

  • There is a WAR dependency on R3R_3 between I1I_1 and I3I_3

Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A, B

Solution and Explanation

The correct options are (A) and (B).
Was this answer helpful?
0
0

Top Questions on Machine Instructions and Addressing Modes

Questions Asked in GATE CS exam

View More Questions