That's not an issue with CodeWrite, that's an issue with your source.
temptemptemp.asm.2 <--- the 2 stands for line 2 of the source. CodeWrite says the reason for the error is that is out of operand range.
lhz is a signed instruction
syntax:
lhz rD, VALUE (rA)
VALUE is in a 16-bit signed range. 0x8200 is not withing the signed range, that's why you got the error.
16-bit signed range is..
0xFFFF8000 --> 0 --> 0x7FFF (-32768 --> -0 --> 32767)
https://mariokartwii.com/showthread.php?tid=830
https://mariokartwii.com/showthread.php?tid=940
Read those two threads if you don't want to read the 'Go from noobs to Veteran ASM coder' thread I linked in my earlier post.
temptemptemp.asm.2 <--- the 2 stands for line 2 of the source. CodeWrite says the reason for the error is that is out of operand range.
Code:
lhz r12, 0x8200 (r12)
lhz is a signed instruction
syntax:
lhz rD, VALUE (rA)
VALUE is in a 16-bit signed range. 0x8200 is not withing the signed range, that's why you got the error.
16-bit signed range is..
0xFFFF8000 --> 0 --> 0x7FFF (-32768 --> -0 --> 32767)
https://mariokartwii.com/showthread.php?tid=830
https://mariokartwii.com/showthread.php?tid=940
Read those two threads if you don't want to read the 'Go from noobs to Veteran ASM coder' thread I linked in my earlier post.