mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 05:28:06 +11:00
b626944273
This allows us to refer to pushRS/popRS routines by labels, allowing us to get rid of the pushRS reference in the stable ABI zone.
12 lines
200 B
Plaintext
12 lines
200 B
Plaintext
lblpushRS BSET
|
|
IX INCd, IX INCd,
|
|
0 IX+ L LDIXYr,
|
|
1 IX+ H LDIXYr,
|
|
RET,
|
|
|
|
lblpopRS BSET PC ORG @ 0x15 + ! ( popRS )
|
|
L 0 IX+ LDrIXY,
|
|
H 1 IX+ LDrIXY,
|
|
IX DECd, IX DECd,
|
|
RET,
|