Newer
Older
emul / test_asm / test.asm
#DUMP DEBUG0
#RUN

addi  $s0 $zero 100
addi  $s1 $zero 0
addi  $s2 $zero 1
addi  $s3 $zero 0

#LABEL LOOP
add   $s3 $s1 $s2

add   $s1 $s2 $zero
add   $s2 $s3 $zero

slt   $t0 $s3 $s0
beq   $t0 $zero EXIT

#REGCAT $s3
j LOOP

#LABEL EXIT
#INPUT $t0