retagged by
2,358 views
2 votes
2 votes
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)
retagged by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
3
Na462 asked Nov 14, 2018
767 views