1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-06 02:10:57 +11:00
collapseos/blk/753

15 lines
605 B
Plaintext
Raw Normal View History

2020-06-14 06:21:56 +10:00
: 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 relative addrs are special )
2020-06-14 06:21:56 +10:00
0xeb OP1 JMPs, 0xe9 OP1 JMPn, 0x74 OP1 JZ,
2020-06-15 04:15:44 +10:00
0xe8 OP1 CALLn,
2020-06-13 00:49:27 +10:00
: 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, ;
: JMPf, ( seg off ) 0xea A, SPLITB A, A, SPLITB A, A, ;
: OPrr CREATE C, DOES> C@ A, 3 LSHIFT OR 0xc0 OR A, ;
0x31 OPrr XORxx, 0x08 OPrr ORrr,