Consider the following sequence of instructions in a MIPS 5-stage pipeline:
beq $1, $2, ADD_LABEL
lw $10, 0($11)
sub $14, $10, $10
ADD_LABEL: add $4, $1, $2
lw $1, 0($4)
sub $1, $1, $1
add $1, $1, $1 # last instruction
For the instruction mix shown above, on what instruction result does the last add instruction depend on?
lw $1, 0($4)
add $4, $1, $2
beq $1, $2, ADD_LABEL
sub $1, $1, $1