mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-13 19:38:05 +11:00
11 lines
203 B
Plaintext
11 lines
203 B
Plaintext
: IMMEDIATE
|
|
CURRENT @ 1-
|
|
DUP C@ 128 OR SWAP C! ;
|
|
: IMMED? 1- C@ 0x80 AND ;
|
|
: +! TUCK @ + SWAP ! ;
|
|
: -^ SWAP - ;
|
|
: / /MOD NIP ;
|
|
: MOD /MOD DROP ;
|
|
: ALLOT HERE +! ;
|
|
: LEAVE R> R> DROP I 1- >R >R ;
|