I'm trying to load an .asciiz parameter into a register, and I get an error,
code:
.data
stp:
.asciiz "stop"
.text
.globl main
main:
la $t1, stp
lw $t1, 0($t1)
I get an exception: Unaligned address in inst/data fetch,
is there a way to load an .ascii to a register as a word?
I want to compare an input variable to the text saved in stp,
What am I doing wrong?