Click here to Skip to main content
14,775,130 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
loop :
addi $v0, $v0,1
sw $v1,0($a1)
addi $a0,a0,1
addi $a1,$a1,1
bne $v1,$zero,loop

what is the wrong in my code ?
Kornfeld Eliyahu Peter 20-Oct-14 7:39am
That it is not PHP!

1 solution

The very first line (after the loop: label) has no instruction!
... $v1,0($a0)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900