1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-05 22:20:55 +11:00
collapseos/blk/730

17 lines
436 B
Plaintext
Raw Normal View History

2020-06-13 00:49:27 +10:00
8086 assembler
Work in progress. Load with "750 LOAD".
Mnemonics are followed by argument types. For example, MOVri,
moves 8-bit immediate to 8-bit register.
2020-06-13 04:01:24 +10:00
'r' = 8-bit register 'x' = 16-bit register
'i' = immediate, size depends on other operand.
's' = SREG register
2020-06-13 00:49:27 +10:00
Mnemonics that only have one signature (for example INT,) don't
have operands letters.
2020-06-13 00:49:27 +10:00
For jumps, it's special. 's' is SHORT, 'n' is NEAR, 'f' is FAR.
2020-06-13 00:49:27 +10:00