Question: 4. Identify the pipeline hazards in the given code and fix them for the given code. 4 5 6 7 8 9 10 11 1

4. Identify the pipeline hazards in the given code and fix them for the given code. 4 5 6 7 8 9 10 11 1 2 3 I A E A | DM E A 1 INSTRUCTIONS Load: R1 + M[address 1] Load: R2 M[address 2] Sub: R3 R1-R2 AND: R1R14 R3 Branch to address X Load: R1 M[address 3] Load: R2 M[address 4] Add: R3 R1+R2 Store: M[address 5] + R3 E A E A | -Dm Dm E A 1 E A 1 la E A 1 E A A E
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
