More fiddling with call addresses.

This commit is contained in:
Brad Nelson
2022-10-22 09:54:01 -07:00
parent d9d515861b
commit c1692b8039

View File

@ -39,8 +39,8 @@ numeric operand im
: offset 18 for aft ofs then next ;
( Offsets for CALL* )
: >cofs ( n -- n ) chere - 2 rshift 4 - ;
: cofs. ( n -- ) 18 sextend 2 lshift address @ + 4 + . ;
: >cofs ( n -- n ) chere - 2 rshift 1- ;
: cofs. ( n -- ) 18 sextend 1+ 2 lshift address @ + . ;
' >cofs ' cofs. operand cofs
: coffset 18 for aft cofs then next ;