Clarify opcodes and fix table
This commit is contained in:
parent
6f6f32b5cf
commit
a454890dac
1 changed files with 5 additions and 2 deletions
|
|
@ -47,6 +47,9 @@ Small opcodes can range from `0` to `E` and have an address or 20-bit
|
||||||
value as argument. Large opcodes can range from `F0` to `FF` and have,
|
value as argument. Large opcodes can range from `F0` to `FF` and have,
|
||||||
if at all, a 16-bit value as argument.
|
if at all, a 16-bit value as argument.
|
||||||
|
|
||||||
|
For large opcodes without an argument, the 16 value bits are
|
||||||
|
ignored. They don't have to be set to 0.
|
||||||
|
|
||||||
### Registers
|
### Registers
|
||||||
|
|
||||||
| Name | Size (bits) | Function |
|
| Name | Size (bits) | Function |
|
||||||
|
|
@ -114,7 +117,7 @@ with zeroes, like so:
|
||||||
The registers and memory are stored as follows:
|
The registers and memory are stored as follows:
|
||||||
|
|
||||||
| Word | Content |
|
| Word | Content |
|
||||||
|---------------+-------------|
|
|--------------:|-------------|
|
||||||
| 0 | `IR` |
|
| 0 | `IR` |
|
||||||
| 1 | `ACC` |
|
| 1 | `ACC` |
|
||||||
| 2 | `RA` |
|
| 2 | `RA` |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue