Question: 2. Given the following program: Add r1, r2, r3 Sub r4,r1,r3 And r6, r1, r7 Or r8, r1, r9 Xor r10, r1, r11 detect the

2. Given the following program:
Add r1, r2, r3
Sub r4,r1,r3
And r6, r1, r7
Or r8, r1, r9
Xor r10, r1, r11
detect the hazards in the given program and propose two solutions for each hazard you detect. Show the timing of this instruction sequence for the RISC pipeline before and after the solution.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!