Loop: bne $a0, $a1, Exit j End Exit: beq $a1, $a0, Loop End: