mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-28 23:38:05 +11:00
f54b1dc504
This allows us to make DO..LOOP more compact.
18 lines
310 B
Plaintext
18 lines
310 B
Plaintext
CODE >R
|
|
HL POPqq, chkPS,
|
|
17 BCALL, ( 17 == pushRS )
|
|
;CODE
|
|
CODE 2>R
|
|
DE POPqq, HL POPqq, chkPS,
|
|
17 BCALL, ( 17 == pushRS ) EXDEHL, 17 BCALL,
|
|
;CODE
|
|
CODE R>
|
|
20 BCALL, ( 20 == popRS )
|
|
HL PUSHqq,
|
|
;CODE
|
|
CODE 2R>
|
|
20 BCALL, ( 20 == popRS ) EXDEHL, 20 BCALL,
|
|
HL PUSHqq, DE PUSHqq,
|
|
;CODE
|
|
|