mirror of
https://github.com/hsoft/collapseos.git
synced 2024-09-05 19:28:45 +10:00
There is now no more actual code in stable ABI, only references. This makes refactoring of this code much easier. For example, changing IY to BC as the IP register.
10 lines
301 B
Plaintext
10 lines
301 B
Plaintext
: LIT< 0x2b ( s ) , WORD DUP C@ 1+ MOVE, ; IMMEDIATE
|
|
: BEGIN H@ ; IMMEDIATE
|
|
: AGAIN 0x3b ( br ) , H@ - _bchk , ; IMMEDIATE
|
|
: UNTIL 0x3f ( ?br ) , H@ - _bchk , ; IMMEDIATE
|
|
: [ INTERPRET ; IMMEDIATE
|
|
: ] R> DROP ;
|
|
: COMPILE ' LITN ['] , , ; IMMEDIATE
|
|
: [COMPILE] ' , ; IMMEDIATE
|
|
: ['] ' LITN ; IMMEDIATE
|