mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-29 05:18:06 +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...
9 lines
190 B
Plaintext
9 lines
190 B
Plaintext
CODE (loop)
|
|
[BP] 0 INC[w]+, ( I++ )
|
|
( Jump if I <> I' )
|
|
AX [BP] 0 MOVx[]+, AX [BP] -2 CMPx[]+,
|
|
JNZ, L1 @ RPCs, ( branch )
|
|
( don't branch )
|
|
BP 4 SUBxi, DX INCx,
|
|
;CODE
|