Reputation: 61
what the type of hazard is this WAR,RAW,WAW?
LW R2, 0x4000(R30)
LW R3, 0x8000(R30)
SUB R4, R3, R2
Upvotes: 0
Views: 185
Reputation: 14376
This is a RAW hazard as you're Writing data into R2 & R3 and then Reading those values in the SUB command.
So (R)ead (A)fter (W)rite
Upvotes: 2