mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-20 11:58:05 +11:00
44403c3d4c
The way is clear for complete stage1 bootstrapping on the RC2014 target!
15 lines
352 B
Plaintext
15 lines
352 B
Plaintext
( LITN has to be defined after the last immediate usage of
|
|
it to avoid bootstrapping issues )
|
|
: LITN 32 , , ( 32 == NUMBER ) ;
|
|
|
|
: IMMED? 1- C@ 0x80 AND ;
|
|
|
|
( ';' can't have its name right away because, when created, it
|
|
is not an IMMEDIATE yet and will not be treated properly by
|
|
xcomp. )
|
|
: _
|
|
['] EXIT ,
|
|
R> DROP ( exit : )
|
|
; IMMEDIATE
|
|
|