RosettaCodeData/Task/Conditional-structures/MIPS-Assembly/conditional-structures-2.mips

6 lines
197 B
Plaintext

addu $t0,$t1 ;I'm going to branch based off this addition, but there's other things I want to do first.
lw $t3,($t4)
nop ;load delay slot
BEQ $t0,$t1,Label
nop ;branch delay slot