1,502 views
2 votes
2 votes

The following assembly code is to be executed in a 3-stage pipelined processor with hazard detection and resolution in each stage. The stage are IF, OF (one or more as required) and execution (including writeback operation). What are the number of possible RAW, WAW and WAR hazards in the execution of the code.

A. 6,1,2

B. 5,1,2

C. 5,3,2

D. 5,3,3

Ans is B please explain with solution

1 Answer

4 votes
4 votes

I hope it would make things clear.. 

No related questions found