Reduce the scope of the stable ABI

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.
This commit is contained in:
Virgil Dupras 2020-06-17 07:53:00 -04:00
parent bc8144b4be
commit abb4dc8bd7
2 changed files with 9 additions and 9 deletions

18
blk/286
View File

@ -1,16 +1,16 @@
CODE >R ( 0xa8 ) CODE 2>R ( 0xa9 )
HL POPqq,
17 BCALL, ( 17 == pushRS )
;CODE NOP, NOP, NOP,
CODE 2>R ( 0xb9 )
DE POPqq, HL POPqq, DE POPqq, HL POPqq,
17 BCALL, ( 17 == pushRS ) EXDEHL, 17 BCALL, 17 BCALL, ( 17 == pushRS ) EXDEHL, 17 BCALL,
;CODE NOP, NOP, NOP, ;CODE ( END OF STABLE ABI )
CODE R> ( 0xce ) CODE >R
HL POPqq,
17 BCALL, ( 17 == pushRS )
;CODE
CODE R>
20 BCALL, ( 20 == popRS ) 20 BCALL, ( 20 == popRS )
HL PUSHqq, HL PUSHqq,
;CODE ;CODE
CODE 2R> ( 0xdc ) CODE 2R>
20 BCALL, ( 20 == popRS ) EXDEHL, 20 BCALL, 20 BCALL, ( 20 == popRS ) EXDEHL, 20 BCALL,
HL PUSHqq, DE PUSHqq, HL PUSHqq, DE PUSHqq,
;CODE ( END OF STABLE ABI ) ;CODE

Binary file not shown.