mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 01:58:06 +11:00
d8a6456206
The address returned in the error condition would be off by one.
9 lines
157 B
Plaintext
9 lines
157 B
Plaintext
: IMMEDIATE
|
|
CURRENT @ 1-
|
|
DUP C@ 128 OR SWAP C! ;
|
|
: IMMED? 1- C@ 0x80 AND ;
|
|
: +! TUCK @ + SWAP ! ;
|
|
: / /MOD NIP ;
|
|
: MOD /MOD DROP ;
|
|
: ALLOT HERE +! ;
|