Add more description to Instructions
Add more description to memory layout
This commit is contained in:
parent
d611864991
commit
078172a71a
1 changed files with 13 additions and 13 deletions
26
design.txt
26
design.txt
|
|
@ -1,15 +1,15 @@
|
|||
Instructions:
|
||||
INP 0b0001
|
||||
OUT 0b0010
|
||||
LDA 0b0011
|
||||
STA 0b0100
|
||||
INC 0b0101
|
||||
DEC 0b0110
|
||||
JPP 0b0111
|
||||
JPZ 0b1000
|
||||
JPN 0b1001
|
||||
JPU 0b1010
|
||||
EOJ 0b1011
|
||||
INP 0b0001 | +Adress
|
||||
OUT 0b0010 | +Adress
|
||||
LDA 0b0011 | +Adress
|
||||
STA 0b0100 | +Adress
|
||||
INC 0b0101 | no Adress
|
||||
DEC 0b0110 | no Adress
|
||||
JPP 0b0111 | +Adress
|
||||
JPZ 0b1000 | +Adress
|
||||
JPN 0b1001 | +Adress
|
||||
JPU 0b1010 | +Adress
|
||||
EOJ 0b1011 | no Adress
|
||||
|
||||
Instruction format, [] means optional:
|
||||
instruction [mem_adress]; [Kommentar]
|
||||
|
|
@ -20,5 +20,5 @@ Memory:
|
|||
|
||||
Instruction Layout:
|
||||
XXXXYYYYYYYYYYYYYYYYYYYYYYYYYYYY
|
||||
X: Instruction Opcode
|
||||
Y: Memory Adress
|
||||
X: Instruction Opcode (4bit)
|
||||
Y: Memory Adress (28bit)
|
||||
Loading…
Add table
Add a link
Reference in a new issue