mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 17:48:05 +11:00
17 lines
424 B
Plaintext
17 lines
424 B
Plaintext
PC ORG @ 0x0f + ! ( compiledWord )
|
|
( 1. Push current IP to RS
|
|
2. Set new IP to the second atom of the list
|
|
3. Execute the first atom of the list. )
|
|
IY PUSHqq, HL POPqq, ( <-- IP )
|
|
L4 @ ( pushRS ) BCALL,
|
|
EXDEHL, ( HL points to PFA )
|
|
( While we inc, dereference into DE for execute call later. )
|
|
LDDE(HL),
|
|
HL INCss,
|
|
HL PUSHqq, IY POPqq, ( --> IP )
|
|
JR, L3 BWR ( execute-B301 )
|
|
|
|
|
|
|
|
|