Assembly MIPS printing integers and strings
<p>I'm trying to print the integers 1-10 and inserting a blank line in between lines (Actually a string that says something), but my code isn't working properly. Am I on the right track?</p>

<pre><code>    .text
    .align 2




main: 

lw $s0, 1
j loop

Exit:
    li $v0, 10
    syscall
    jr $ra 


loop:
    beq $v0, 11, Exit   

    li $v0, 1 #call for printing integer is 1
    syscall
    addi $a0, $a0, 1 #increment by 1

   move $s0,$a0

   li $v0, 4
   la $a0, out_string
   syscall
   move $a0,$s0


   j loop




    .data

out_string:     .asciiz "\n new line\n"
</code></pre>