HOWEVER, and this is where it gets sticky, a goto or call instruction sets only 11 bits, 8 in pcl and 3 in pclath. That limits the calls and gotos to 2K of space. To call to a routine in high memory (and this is code straight from the manual), you must:
BCF PCLATH,4 ;Select high page
BSF PCLATH,3 ;(800-8FF)
CALL SUB ; call subroutine in high memory
...
ORG 900h ; High memory subroutine
SUB ...
RETURN ; Goes back to calling routine OK
Another counterintuitive wonder.
I'm wondering if
we shouldn't go back to the 68HC11?
Not finished must go.