Update desgin.txt to add support for labels

This commit is contained in:
XOR 2023-03-27 10:50:12 +02:00
parent 1ffd59b615
commit ac8344af93

View file

@ -5,7 +5,7 @@ Instructions:
STA 0b0100 | +Adress
INC 0b0101 | no Adress
DEC 0b0110 | no Adress
JPP 0b0111 | +Adress
JPP 0b0111 | +Adress/Label
JPZ 0b1000 | +Adress
JPN 0b1001 | +Adress
JPU 0b1010 | +Adress
@ -21,4 +21,6 @@ Memory:
Instruction Layout:
XXXXYYYYYYYYYYYYYYYYYYYYYYYYYYYY
X: Instruction Opcode (4bit)
Y: Memory Adress (28bit)
Y: Memory Adress (28bit)
Labels will get resolved by a preprocessor and transformed to adresses on assembling time