mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-06 01:30:55 +11:00
adea75e50a
I'm pretty happy about how lightweight the implementation turns out to be.
13 lines
356 B
Plaintext
13 lines
356 B
Plaintext
( compiled word
|
|
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. )
|
|
IX INCd, IX INCd,
|
|
0 IX+ C LDIXYr,
|
|
1 IX+ B LDIXYr,
|
|
( While we inc, dereference into DE for execute call later. )
|
|
LDDE(HL),
|
|
HL INCd,
|
|
B H LDrr, C L LDrr, ( --> IP )
|
|
JR, lblexec BWR ( execute-B287 )
|