mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-14 14:58:05 +11:00
e4a4a9800d
It's a bit more inconvenient in terms of register protection (BC is much more generally useful than IY), but it makes tight spots such as next and execute much faster, so I think it's worth it.
12 lines
175 B
Plaintext
12 lines
175 B
Plaintext
CODE EXECUTE
|
|
DE POP,
|
|
chkPS,
|
|
lblexec @ JP,
|
|
|
|
CODE EXIT
|
|
PC ORG @ 0x0d + ! ( stable ABI JP )
|
|
C 0 IX+ LDrIXY,
|
|
B 1 IX+ LDrIXY,
|
|
IX DECd, IX DECd,
|
|
JPNEXT,
|