Got the start of encoding opcodes.

This commit is contained in:
2022-08-26 18:27:41 +00:00
parent 0d060248cb
commit eb5e2c506e
5 changed files with 66 additions and 19 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ typedef enum {
DB, ORG,
//Opcodes
COPY, ADD, SUB, JZ, INT, YLD, RET,
CMP, NOP, IN, OUT,
CMP, NOP, JMP, IN, OUT,
//Registers
R1, R2, R3, R4, R5, R6, R7, R8
} TokenType;