mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-05 17:40:56 +11:00
3d908cef3a
This allows us to get rid of the (parse*) indirection.
15 lines
354 B
Plaintext
15 lines
354 B
Plaintext
: X:
|
|
(xentry) [ 0x0e LITN ] C,
|
|
BEGIN WORD
|
|
XCURRENT @ SWAP ( xcur w ) _find ( a f )
|
|
IF ( a )
|
|
DUP IMMED? IF ABORT THEN
|
|
DUP ORG @ > IF ORG @ - BIN( @ + THEN ,
|
|
ELSE ( w )
|
|
0x02 RAM+ @ SWAP ( cur w ) _find ( a f )
|
|
IF DUP IMMED? NOT IF ABORT THEN EXECUTE
|
|
ELSE (parse) LITN THEN
|
|
THEN
|
|
AGAIN
|
|
;
|