Starting to add PSW Register.
This commit is contained in:
parent
0fb4cd8a0f
commit
8182769e79
|
|
@ -60,9 +60,16 @@ The CPU will have ports for inputs / outputs, not a north and south bridge.
|
||||||
| IR | Instruction Register | Running instruction storage. |
|
| IR | Instruction Register | Running instruction storage. |
|
||||||
| A | A Register | ALU first input register. |
|
| A | A Register | ALU first input register. |
|
||||||
| B | B Register | ALU second input register. |
|
| B | B Register | ALU second input register. |
|
||||||
|
| PSW | Program Status Word | Status flags. |
|
||||||
| MAR | Memory Address Register | RAM heap access address. |
|
| MAR | Memory Address Register | RAM heap access address. |
|
||||||
| SP | Stack pointer | RAM stack access pointer. |
|
| SP | Stack pointer | RAM stack access pointer. |
|
||||||
|
|
||||||
|
###### PSW Structure
|
||||||
|
|
||||||
|
| Bit | Name | Description |
|
||||||
|
| :-: | :--: | :---------- |
|
||||||
|
| 0 |
|
||||||
|
|
||||||
### The instruction set.
|
### The instruction set.
|
||||||
|
|
||||||
Every instruction is 1 to 3 bytes long.
|
Every instruction is 1 to 3 bytes long.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue