mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 03:38: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...
11 lines
285 B
Plaintext
11 lines
285 B
Plaintext
CODE (n) ( number literal )
|
|
PC 0x27 - ORG @ 0x25 + ! ( stable abi )
|
|
DI DX MOVxx, DI [DI] MOVx[], DI PUSHx,
|
|
DX INCx, DX INCx,
|
|
;CODE
|
|
CODE (s) ( string literal, see B287 )
|
|
DI DX MOVxx, ( IP )
|
|
AH AH XORrr, AL [DI] MOVr[], ( slen )
|
|
DX PUSHx, DX INCx, DX AX ADDxx,
|
|
;CODE
|