Eli
Eli

Reputation: 61

Hazard Type - Computer Architecture

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

Answers (1)

KevinDTimm
KevinDTimm

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

Related Questions