Make sure the address of theArray
is aligned to a 32-bit word boundary. You can inspect the address if you have the ability to single-step through the program, and check the value of $s3
after the first la
instruction.
See this wiki for documentation about alignment, and the .align
directive that can be used to force alignment.