Update desgin.txt to add support for labels
This commit is contained in:
parent
1ffd59b615
commit
ac8344af93
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue