Sometimes when I'm putting code into v. 9 I get a different, slightly longer code then what I originally put in and I'm not sure why. For example, I get this code output:
lui r3,0x800d
addiu r3,r3,0x4644
lw r2,0x0000(r3)
nop
ori r2,r2,0x0002
jr r31
sw r2,0x0000(r3)
lui r2,0x8014
add r2,r2,r3
lui r1,0x8000
addu r1,r1,r2
lbu r2,-0x2a00(r1)
lbu r3,0x0016(r3)
nop
slt r2,r2,r3
bne r2,r0,0x0013d5d4
nop
j 0x00091614
nop
j 0x000915f8
nop
From this one, the hex I put in comes out as the code above with the extra, unnecessary commands of lui r1,0x8000
addu r1,r1,r2
lui r3,0x800d
addiu r3,r3,0x4644
lw r2,0x0000(r3)
nop
ori r2,r2,0x0002
jr r31
sw r2,0x0000(r3)
lui r2,0x8014
add r2,r2,r3
lbu r2,-0x2A00(r2)
lbu r3,0x0016(r3)
nop
slt r2,r2,r3
bne r2,r0,0x0013d5d4
nop
j 0x00091614
nop
j 0x000915f8
nop