mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-05 23:40:56 +11:00
13 lines
507 B
Plaintext
13 lines
507 B
Plaintext
: OP1 CREATE C, DOES> C@ A, ;
|
|
0xac OP1 LODSB, 0xfa OP1 CLI, 0xfb OP1 STI,
|
|
0xf4 OP1 HLT, 0xfc OP1 CLD, 0xfd OP1 STD,
|
|
( no argument, jumps with abs addrs are special )
|
|
0xeb OP1 JMPs, 0xe9 OP1 JMPn, 0x74 OP1 JZ,
|
|
: MOVri, SWAP 0xb0 OR A, A, ;
|
|
: MOVxi, SWAP 0xb8 OR A, SPLITB A, A, ;
|
|
: MOVsx, 0x8e A, SWAP 3 LSHIFT OR 0xc0 OR A, ;
|
|
: INT, 0xcd A, A, ;
|
|
: JMPr, 0xff A, 7 AND 0xe0 OR A, ;
|
|
: OPrr CREATE C, DOES> C@ A, 3 LSHIFT OR 0xc0 OR A, ;
|
|
0x31 OPrr XORxx, 0x08 OPrr ORrr,
|