SLTIU.asm
ManiaciaChao_hustzc/6.CPU设计实验/汇编工具及测试用例4.4/SLTIU.asm
#sltiu ≤‚ ‘    revise date:2018/3/12 tiger
#“¿¥Œ ‰≥ˆ  0x00001997 0x00001996 0x00001995 0x00001994 0x00001993 0x00001992 0x00001991 0x00001990 0x0000198f 0x0000198e 0x0000198d 0x0000198c 0x0000198b 0x0000198a 0x00001989 0x00001988 0x00001987 0x00001986 0x00001985 0x00001984 0x00001983 0x00001982 0x00001981 0x00001980 0x0000197f 0x0000197e 0x0000197d 0x0000197c 0x0000197b 0x0000197a 0x00001979 0x00001978 0x00001977 0x00001976 0x00001975 0x00001974 0x00001973 0x00001972 0x00001971 0x00001970 0x0000196f 0x0000196e 0x0000196d 0x0000196c 0x0000196b 0x0000196a 0x00001969 0x00001968 0x00001967 0x00001966 0x00001965 0x00001964 0x00001963 0x00001962 0x00001961 0x00001960 0x0000195f 0x0000195e 0x0000195d 0x0000195c 0x0000195b 0x0000195a 0x00001959 0x00001958 0x00001957 0x00001956 0x00001955 0x00001954 0x00001953 0x00001952 0x00001951 0x00001950 0x0000194f 0x0000194e 0x0000194d 0x0000194c 0x0000194b 0x0000194a 0x00001949

.text
addi $t0,$zero,-1    
addi $t1,$zero,0     
addi $s1,$zero, 0x1997  
sltiu_branch:
add $a0,$0,$s1          
addi $v0,$zero,34        # system call for print
syscall                  # print
add $s1,$s1,$t0     
sltiu $t1,$s1, 0x1949
beq $t1,$zero,sltiu_branch

addi   $v0,$zero,10         # system call for exit
syscall                  # we are out of here.   
