mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 00:48:05 +11:00
2d2a846b25
I'm planning a string reform and it's standing in the way.
12 lines
252 B
Plaintext
12 lines
252 B
Plaintext
: IMMEDIATE
|
|
CURRENT @ 1-
|
|
DUP C@ 128 OR SWAP C! ;
|
|
: IMMED? 1- C@ 0x80 AND ;
|
|
: -^ SWAP - ;
|
|
: / /MOD NIP ;
|
|
: MOD /MOD DROP ;
|
|
: ALLOT HERE +! ;
|
|
: CREATE (entry) 11 ( 11 == cellWord ) C, ;
|
|
: VARIABLE CREATE 2 ALLOT ;
|
|
: LEAVE R> R> DROP I 1- >R >R ;
|