The
About the jump operation, I'm not sure what's going on, as
Are
ROM Hack Manager - SMW Resources - SMW Toolbox
$
in front of a number means the number should already be interpreted as hexadecimal, you don't need to prefix it with 0x
, too. Try changing org $0x108000
to org $108000
.About the jump operation, I'm not sure what's going on, as
JMP (addr,X)
should exist (you can double check the reference guide). Maybe PowerupTable
is in another bank and thus not reachable (I would expect another kind of error for this case, though). Maybe the assembler is trying to interpret PowerupTable
as a 24-bit address, and JMP (long,X)
doesn't exist. Maybe nothing I say makes sense, since I don't really know xkas and how it differs from Asar, and worse how Asar's compatibility mode for xkas works.Are
JMP (PowerupTable,x)
and PowerupTable
defined in the same bank?ROM Hack Manager - SMW Resources - SMW Toolbox