mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-06 08:10:55 +11:00
eba83fa9a9
The usage of numerotated labels for this was becoming severly confusing.
13 lines
468 B
Plaintext
13 lines
468 B
Plaintext
lblexec BSET PC ORG @ 0x34 + ! ( execute. DE -> wordref )
|
|
( We don't apply BIN( reliably on stable ABI stuff, we
|
|
might need to adjust addr. Ugly, but well... )
|
|
BIN( @ [IF]
|
|
A XORr, D ORr, IFZ, D BIN( @ 256 / LDrn, THEN,
|
|
[THEN]
|
|
LDA(DE), DE INCss,
|
|
A ORr, IFZ, EXDEHL, JP(HL), THEN,
|
|
A DECr, JRZ, L1 FWR ( compiled B303 )
|
|
( cell or does. push PFA ) DE PUSHqq,
|
|
A DECr, IFZ, JPNEXT, THEN, ( cell )
|
|
( continue to does, B302 )
|