add opcode usage data

Kevin Ramharak 2019-01-13 15:52:56 +01:00
parent 4cf05d5970
commit 7b53aef435

@ -1,6 +1,28 @@
# Instruction set
The [instruction table](#instruction-table-with-affected-flags) and [instructions](#instructions) are sorted alphabetically.
## Opcodes in use
Current opcodes in use
```
1, 2, 3, 4, 5, 6, 7, 9, 10,
11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
41, 42, 43, 44, 45, 46, 47
```
Current opcodes reserved
```
48 => INT
49 => IRET
```
Current opcodes unsused
```
8,
48. 49, 50
51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
61, 62, 63
```
### Instruction table with affected flags
| Instruction mnemonic | Operands | Opcode | `C Z S O B` |
| -------------------- |:-------- |:------:|:--------- |