mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 05:38:06 +11:00
f2f520cacc
There is now no more actual code in stable ABI, only references. This makes refactoring of this code much easier. For example, changing IY to BC as the IP register.
10 lines
239 B
Plaintext
10 lines
239 B
Plaintext
CODE (loop)
|
|
PC 0x47 - ORG @ 0x45 + ! ( stable abi )
|
|
[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, DX INCx,
|
|
;CODE
|