2020-05-14 08:50:43 -04:00
|
|
|
: IMMEDIATE
|
|
|
|
CURRENT @ 1-
|
|
|
|
DUP C@ 128 OR SWAP C! ;
|
|
|
|
: IMMED? 1- C@ 0x80 AND ;
|
|
|
|
: -^ SWAP - ;
|
2020-05-22 14:03:12 -04:00
|
|
|
: / /MOD NIP ;
|
2020-05-14 08:50:43 -04:00
|
|
|
: MOD /MOD DROP ;
|
|
|
|
: ALLOT HERE +! ;
|
|
|
|
: CREATE (entry) 11 ( 11 == cellWord ) C, ;
|
|
|
|
: VARIABLE CREATE 2 ALLOT ;
|
|
|
|
: LEAVE R> R> DROP I 1- >R >R ;
|