Updated Instruction Encoding (markdown)

DBJ314 2018-03-26 15:16:21 -04:00
parent 6608ea6263
commit 5889ebf320

@ -25,14 +25,14 @@ Selectors are 5-bit values that determine the addressing mode and registers invo
### Register Indexes
| Register | Number | Bit-pattern |
| --- | --- | --- |
| A | | |
| B | | |
| C | | |
| D | | |
| X | | |
| Y | | |
| SP | | |
| BP | | |
| A |1 |0001 |
| B |2|0010 |
| C |3 |0011 |
| D |4 |0100 |
| X |5 |0101 |
| Y |6 |0110 |
| SP |7 |0111 |
| BP |8 |1000 |
## Supplemental Words
If either the destination or source require a 16-bit immediate value as part of their addressing mode, then one or two additional word will be suffixed to the basic instruction word. If both a source and destination supplemental word are required, then the source word will come first in order.