mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-06 01:40:56 +11:00
3ea221d0eb
I'm trying to move stuff around and it simplifies things. Will make a lot more sense to inline when BC replaces IY.
15 lines
459 B
Plaintext
15 lines
459 B
Plaintext
( compiled word ) L1 FSET ( execute B301 )
|
|
( 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 PUSH, HL POP, ( <-- IP )
|
|
IX INCd, IX INCd,
|
|
0 IX+ L LDIXYr,
|
|
1 IX+ H LDIXYr,
|
|
EXDEHL, ( HL points to PFA )
|
|
( While we inc, dereference into DE for execute call later. )
|
|
LDDE(HL),
|
|
HL INCd,
|
|
HL PUSH, IY POP, ( --> IP )
|
|
JR, lblexec BWR ( execute-B301 )
|