mirror of
https://github.com/hsoft/collapseos.git
synced 2024-09-07 21:58:46 +10:00
This is the first commit I do entirely in VE. It's a habit I'm planning on taking as it helps a lot to find usability issues.
17 lines
317 B
Plaintext
17 lines
317 B
Plaintext
( During a CASE, the stack grows by 1 at each ENDOF so that
|
|
we can fill all those ENDOF branching addrs. So that we
|
|
know when to stop, we put a 0 on PSP. That's our stopgap. )
|
|
: CASE 0 ; IMMEDIATE
|
|
: OF
|
|
COMPILE OVER COMPILE =
|
|
[COMPILE] IF COMPILE DROP
|
|
; IMMEDIATE
|
|
: ENDOF [COMPILE] ELSE ; IMMEDIATE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|