mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-06 08:20:56 +11:00
dbd283758c
Was previously referred to by name+find, which was wasteful.
10 lines
286 B
Plaintext
10 lines
286 B
Plaintext
PC 3 - ORG @ 1+ ! ( main )
|
|
SP PS_ADDR MOVxI, BP RS_ADDR MOVxI,
|
|
DI 0x08 MOVxm, ( LATEST )
|
|
( HERE begins at CURRENT )
|
|
BX RAMSTART MOVxI,
|
|
[BX] 0x04 ( HERE ) DI MOV[]+x,
|
|
[BX] 0x02 ( CURRENT ) DI MOV[]+x,
|
|
DI 0x04 ( BOOT ) MOVxm,
|
|
JMPn, lblexec @ RPCn, ( execute )
|