Assembler/design.txt
XOR 20f729d0fd The commit before this one also contained:
Refactoring
Adding error handling
Adding a clang format file
Updating gitignore
Updating TODO
2023-02-27 14:52:37 +01:00

24 lines
No EOL
571 B
Text
Executable file

Instructions:
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]
Memory:
32 Bit Data with
28 Bit Adresess-> 24Mb Memory
Instruction Layout:
XXXXYYYYYYYYYYYYYYYYYYYYYYYYYYYY
X: Instruction Opcode (4bit)
Y: Memory Adress (28bit)