lw $1,1($0) lw $4,1($0) add $2,$1,$1 sw $2,2($0) add $3,$2,$2 beq $1,$3,3 sub $3,$3,$1 j 5 end