1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-25 16:48:06 +11:00
collapseos/blk/243
Virgil Dupras 295b4b6e0a z80a: add BIN( parameter
Will be useful for assembling binaries for the TRS-80 which can't start
at addr 0.
2020-04-27 15:11:38 -04:00

16 lines
303 B
Plaintext

: JPccnn, SWAP <<3 0xc2 OR A, A,, ;
: BCALL, BIN( @ + CALLnn, ;
: BJP, BIN( @ + JPnn, ;
: BJPcc, BIN( @ + JPccnn, ;
: JPNEXT, 26 BJP, ; ( 26 == next )
: chkPS, 29 BCALL, ; ( 29 == chkPS )
: CODE ( same as CREATE, but with native word )
(entry)
23 C, ( 23 == nativeWord )
;
: ;CODE JPNEXT, ;