mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 05:08:06 +11:00
650481f849
Only its jump at 0x33 remains. I've also fixed a strange offset oddity in 8086's (n) placement. It was off by 2, but strangely, it ran properly. Anyway, now it's fixed.
13 lines
346 B
Plaintext
13 lines
346 B
Plaintext
CODE (loop) ( 0x80 )
|
|
[BP] 0 INC[w]+, ( I++ )
|
|
( Jump if I <> I' )
|
|
AX [BP] 0 MOVx[]+, AX [BP] -2 CMPx[]+,
|
|
JNZ, L2 @ RPCs, ( branch )
|
|
( don't branch )
|
|
BP 4 SUBxi, JMPs, L1 @ RPCs,
|
|
ORG @ 0xb9 + HERE !
|
|
CODE (n) ( 0xbf, number literal )
|
|
DI DX MOVxx, DI [DI] MOVx[], DI PUSHx,
|
|
DX INCx, DX INCx,
|
|
;CODE NOP, NOP, NOP, NOP,
|