abb4dc8bd7
Only 2>R in actually needed in the RSP family (for LOOP). Reducing the scope of the stable ABI makes porting to other arches easier.
17 lines
326 B
Plaintext
17 lines
326 B
Plaintext
CODE 2>R ( 0xa9 )
|
|
DE POPqq, HL POPqq,
|
|
17 BCALL, ( 17 == pushRS ) EXDEHL, 17 BCALL,
|
|
;CODE ( END OF STABLE ABI )
|
|
CODE >R
|
|
HL POPqq,
|
|
17 BCALL, ( 17 == pushRS )
|
|
;CODE
|
|
CODE R>
|
|
20 BCALL, ( 20 == popRS )
|
|
HL PUSHqq,
|
|
;CODE
|
|
CODE 2R>
|
|
20 BCALL, ( 20 == popRS ) EXDEHL, 20 BCALL,
|
|
HL PUSHqq, DE PUSHqq,
|
|
;CODE
|