Quote:
Originally Posted by Phil__G
I'm puzzled by "RET 2" and RET 3", are these pre-defines in sbasm that I've missed? (I confess I havent studied the sbasm documentation, I just dived in...)
Cheers
Phil
|
sbasm has added two instructions.
JS Jump to Subroutine
JS pntr,destination
which translates to
Code:
LDI /destination-1
XPAH pntr
LDI #destination-1
XPAL pntr
XPPC pntr
and
RET Return from Subroutine
RET pntr