I'm having trouble with my assembly code:
# Program testing
.text
.globl main
main: ori $4,$0,1
addiu $4,$4,2
addiu $8,$10,4
addiu $2,$1,1
addiu $3,$1,1
addiu $5,$1,1
j main+8 #ERROR HERE
sll $0,$0,0
# End of file
I want to add to my jump. My professor says this will work but I keep getting a parser error
My MIPS setting in PCSPIM are:
checked on bare machine, delayed branches, and delayed load.
Does anyone know what is wrong? Is there a word alignment issue?