Updated the docs to include new jump operands and setup the assembler to handle parsing all the jump instructions.

This commit is contained in:
2023-03-29 22:30:12 -05:00
parent a9a50055a4
commit 288ba9f9cb
5 changed files with 80 additions and 7 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ typedef enum {
typedef enum {
ADD, SUB, JZ, INT, YLD, RET,
CMP, CMPI, NOP, JMP, CALL, LODW, LAA, LODWI, JE, INC, DEC, LOADB,
STOB, STOW, JG, JL, AND, XOR, OR, NOT, SHR, SHL, POP, PUSH, LODB
STOB, STOW, JG, JL, AND, XOR, OR, NOT, SHR, SHL, POP, PUSH, LODB,
JMPA, JZA, JLA, JGA
} Mnemonic;
typedef enum {