1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-23 21:38:05 +11:00
collapseos/blk/289
Virgil Dupras adea75e50a Add alias and switch word types
I'm pretty happy about how lightweight the implementation turns
out to be.
2020-10-28 15:02:06 -04:00

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 )