mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 05:48: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.
13 lines
419 B
Plaintext
13 lines
419 B
Plaintext
( TODO: move these words with other native words. )
|
|
H@ 4 + XCURRENT ! ( make next CODE have 0 prev field )
|
|
CODE (br) L1 BSET ( used in ?br )
|
|
PC 0x3f - ORG @ 0x3d + ! ( stable abi )
|
|
DI DX MOVxx, DI [DI] MOVx[], DX DI ADDxx,
|
|
;CODE
|
|
CODE (?br)
|
|
PC 0x43 - ORG @ 0x41 + ! ( stable abi )
|
|
AX POPx, AX AX ORxx, JZ, L1 @ RPCs, ( False, branch )
|
|
( True, skip next 2 bytes and don't branch )
|
|
DX INCx, DX INCx,
|
|
;CODE
|