mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 11:18:05 +11:00
eefbf66e95
When writing the xcomp documentation, I realized that with careful threading and by accepting a bit of code duplication in the xcomp toolset, I could de-stabilize a couple of words. (n) and EXIT are a bit trickier, but I think it can be done. It would be nice to get rid of stable wordrefs...
14 lines
284 B
Plaintext
14 lines
284 B
Plaintext
CODE (br)
|
|
L1 BSET ( used in ?br and loop )
|
|
LDA(BC), H 0 LDri, L A LDrr,
|
|
RLA, IFC, H DECr, THEN,
|
|
BC ADDHLd, B H LDrr, C L LDrr,
|
|
;CODE
|
|
CODE (?br)
|
|
HL POP,
|
|
HLZ,
|
|
JRZ, L1 BWR ( br + 1. False, branch )
|
|
( True, skip next byte and don't branch )
|
|
BC INCd,
|
|
;CODE
|