1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-05 21:40:56 +11:00
collapseos/blk/753
Virgil Dupras 749fdf1b18 8086asm: add 8-bit JMP, MOVrI, INT,
Verified against nasm with equivalent code.
2020-06-12 11:29:00 -04:00

7 lines
167 B
Plaintext

: MOVri, SWAP 0xb0 OR A, A, ;
: MOVrI, SWAP 0xb0 OR A, 256 /MOD A, A, ;
: INT, 0xcd A, A, ;
( no argument, flow ops are special )
: JMP8, 0xeb A, ;
: JMP16, 0xe9 A, ;