mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-20 19:38:06 +11:00
44403c3d4c
The way is clear for complete stage1 bootstrapping on the RC2014 target!
17 lines
429 B
Plaintext
17 lines
429 B
Plaintext
XCURRENT @ ( to PSP )
|
|
: :
|
|
(entry)
|
|
( We cannot use LITN as IMMEDIATE because of bootstrapping
|
|
issues. Same thing for ",".
|
|
32 == NUMBER 14 == compiledWord )
|
|
[ 32 H@ ! 2 ALLOT 14 H@ ! 2 ALLOT ] C,
|
|
BEGIN
|
|
WORD
|
|
(find)
|
|
( is word )
|
|
IF DUP IMMED? IF EXECUTE ELSE , THEN
|
|
( maybe number )
|
|
ELSE (parse*) @ EXECUTE LITN THEN
|
|
AGAIN ;
|
|
( from PSP ) ';' SWAP 4 - C!
|