Sorry to post in the old thread again. This code is still in the current HCS08RMV1.pdf
Warning (A13003) happens on this line.
I_cont: ais #SpSubSize+3 ;deallocate sub body + H:X + command
;H:X flash pointer OK from SpSub
The same warning (A13003) happens on this line.
SpSub: ldhx SpSubSize+4,sp ;get flash address from stack
Going off previous posts, I guess the code works, its just been released with warnings...?
I was wondering, is there any way to tell the compliler that the result of this line:
SpSubSize: equ (*-SpSub)
is only allowed to be one byte i.e. cast it as byte? This should stop the warning (i think).