Disable the button ok in vs mode
#21
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.

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.
Reply


Messages In This Thread
Disable the button ok in vs mode - by coco - 11-19-2021, 11:58 AM
RE: Disable the button ok in vs mode - by Vega - 11-19-2021, 04:18 PM
RE: Disable the button ok in vs mode - by coco - 11-19-2021, 05:31 PM
RE: Disable the button ok in vs mode - by coco - 11-20-2021, 10:17 AM
RE: Disable the button ok in vs mode - by Vega - 11-19-2021, 11:06 PM
RE: Disable the button ok in vs mode - by coco - 11-20-2021, 10:22 AM
RE: Disable the button ok in vs mode - by stebler - 11-20-2021, 06:18 PM
RE: Disable the button ok in vs mode - by coco - 11-21-2021, 12:25 PM
RE: Disable the button ok in vs mode - by Vega - 11-21-2021, 03:13 PM
RE: Disable the button ok in vs mode - by coco - 11-21-2021, 04:42 PM
RE: Disable the button ok in vs mode - by coco - 11-21-2021, 05:30 PM
RE: Disable the button ok in vs mode - by Vega - 11-21-2021, 05:42 PM
RE: Disable the button ok in vs mode - by coco - 11-21-2021, 05:51 PM
RE: Disable the button ok in vs mode - by Vega - 11-21-2021, 05:52 PM
RE: Disable the button ok in vs mode - by coco - 11-21-2021, 06:21 PM
RE: Disable the button ok in vs mode - by Vega - 11-21-2021, 10:31 PM
RE: Disable the button ok in vs mode - by Vega - 11-22-2021, 02:03 AM
RE: Disable the button ok in vs mode - by coco - 11-22-2021, 12:13 PM
RE: Disable the button ok in vs mode - by Vega - 11-22-2021, 03:35 PM
RE: Disable the button ok in vs mode - by coco - 11-22-2021, 06:19 PM
RE: Disable the button ok in vs mode - by Vega - 11-22-2021, 06:59 PM
RE: Disable the button ok in vs mode - by coco - 11-22-2021, 07:03 PM

Forum Jump:


Users browsing this thread: 7 Guest(s)