A 5 stage pipeline has the stages IF, ID, OF, PO, WB (Assume that there are no separate data
and instruction caches). For the program below, what is/are the hazard(s) possible?
MOV R 1 , A; R 1 ←μ[A]
MOV R 2 , A; R 2 ←μ[B]
ADD R 1 , R 2 ; R 1 ←R 1 + R 2
MOV X, R 1 ; μ[x]←R 1
(a) Data Hazard
(c) Control Hazard
(b) Structural Hazard
(d) Both (a) & (b)