For the following code sequence check the existence of data hazards. ADD R3,…
For the following code sequence check the existence of data hazards.
ADD R3, R2, R1: R3= R2 + R1
SUB R5, R1, 1: R5 = R1 -1
Which of the following hazard is present in above code?
- A.
RAW
- B.
WAR
- C.
WAW
- D.
No hazard
Attempted by 134 students.
Sign up free to check your answer
Sign up freeLoading lesson…

