Add more description to Instructions

Add more description to memory layout
This commit is contained in:
XOR 2023-01-05 23:47:32 +01:00
parent d611864991
commit 078172a71a

View file

@ -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)