Next: ... Up: What might go wrong: Hazards Previous: ...

...

Example:
ADD R1, R2, R3    (R1:=R2+R3)
SUB R4, R1, R5    (R4:=R1-R5)
Inst$^{\rm n}$                           
ADD R1,R2,R3  IF ID EX MEM WB                
SUB R4,R1,R5    IF ID EX MEM WB              
Cycle  1 2 3 4 5 6              
         $^\uparrow$R1 written here          
       $^\uparrow$R1 read here              


next up previous
Next: ... Up: What might go wrong: Hazards Previous: ...