Hi All,
I'm very new to this and trying to create a project for the MC9S12XHZ512 chip in assembly. I have used the wizards to set this up but whenever I try to do a CALL as in "call sub_E111, #$E9" I get a Page value expected.
My assembler options are "-CPUHCS12X -D__RUN_XGATE_OUT_OF_FLAS -MapFlash"
and linker options are -MapFlash
I have not changed anything else from the default except for defining my code. Is there something I need to set to enable this call?
Thanks
已解决! 转到解答。
I should note that Ive also tried adding the -mb command line flag to both the assembler and linker options for my target. There are plenty of examples using C and these work, but I just cant get it to work when adding an asm file.
Thanks