1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-17 06:18:06 +11:00
collapseos/blk/302

13 lines
439 B
Plaintext
Raw Normal View History

2020-04-28 21:51:41 +10:00
L1 BSET PC ORG @ 0x0f + ! ( compiledWord )
2020-04-23 11:19:12 +10:00
( 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 )
0x11 BCALL, ( 11 == pushRS )
2020-04-23 11:19:12 +10:00
EXDEHL, ( HL points to PFA )
2020-04-28 21:51:41 +10:00
( While we inc, dereference into DE for execute call later. )
LDDE(HL),
2020-04-23 11:19:12 +10:00
HL INCss,
HL PUSHqq, IY POPqq, ( --> IP )
JR, L3 BWR ( execute-B301 )