mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-28 18:38:07 +11:00
cd514e6cd6
Also, fix (roll) which wasn't properly implemented.
8 lines
253 B
Plaintext
8 lines
253 B
Plaintext
: PUSHZ, CX 0 MOVxI, IFZ, CX INCx, THEN, CX PUSHx, ;
|
|
: CODE ( same as CREATE, but with native word )
|
|
(entry) 0 ( native ) C, ;
|
|
: ;CODE JMPn, 0x1a ( next ) RPCn, ;
|
|
VARIABLE lblchkPS
|
|
: chkPS, ( sz -- )
|
|
CX SWAP 2 * MOVxI, CALLn, lblchkPS @ RPCn, ;
|