mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-28 23:38:05 +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.
16 lines
290 B
Plaintext
16 lines
290 B
Plaintext
CODE >R
|
|
HL POP, lblpushRS @ CALL,
|
|
;CODE
|
|
CODE R>
|
|
lblpopRS @ CALL, HL PUSH,
|
|
;CODE
|
|
CODE 2>R
|
|
PC ORG @ 0x35 + ! ( stable ABI JP )
|
|
DE POP, HL POP,
|
|
lblpushRS @ CALL, EXDEHL, lblpushRS @ CALL,
|
|
;CODE
|
|
CODE 2R>
|
|
lblpopRS @ CALL, EXDEHL, lblpopRS @ CALL,
|
|
HL PUSH, DE PUSH,
|
|
;CODE
|