For an MIPS five-stage pipeline as shown in CPE555-3, identify all of the data dependencies in the following code. Which dependencies are data hazards that will be resolved via forwarding? Which dependencies are data hazards that will cause a stall?
add R3, R4, R2
sub R5, R3, R1
lw R6, 200(R5)
add R7, R3, R6