1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-25 17:58:07 +11:00

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 )
HL POPqq,
17 BCALL, ( 17 == pushRS )
;CODE NOP, NOP, NOP,
CODE 2>R ( 0xb9 )
CODE 2>R ( 0xa9 )
DE POPqq, HL POPqq,
17 BCALL, ( 17 == pushRS ) EXDEHL, 17 BCALL,
;CODE NOP, NOP, NOP,
CODE R> ( 0xce )
;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> ( 0xdc )
CODE 2R>
20 BCALL, ( 20 == popRS ) EXDEHL, 20 BCALL,
HL PUSHqq, DE PUSHqq,
;CODE ( END OF STABLE ABI )
;CODE

Binary file not shown.