Added more instructions for the parser to emit and refactored the code in doing so.
This commit is contained in:
+2
-1
@@ -13,7 +13,8 @@ Instruction instructions[OPCODECOUNT] = {
|
||||
{ "cmp", CMP, Reg, Reg | Constant },
|
||||
{ "in", IN, Constant | Reg, None},
|
||||
{ "out", OUT, None, None},
|
||||
{ "nop", NOP, None, None}
|
||||
{ "nop", NOP, None, None},
|
||||
{ "jz", JZ, Address, None}
|
||||
};
|
||||
|
||||
unsigned char GetInstructionMask(TokenType type, TokenClass parameterOneType) {
|
||||
|
||||
Reference in New Issue
Block a user