main: addi $t0,$0,0 loop: slti $t1,$t0,5 #t1=1 beq $t1,$0,end addi $t0,$t0,1 j loop end: li $v0,10 syscall