aboutsummaryrefslogtreecommitdiff
path: root/asm/lexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'asm/lexer.h')
-rw-r--r--asm/lexer.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/asm/lexer.h b/asm/lexer.h
index 1e68d8b..78cf4c6 100644
--- a/asm/lexer.h
+++ b/asm/lexer.h
@@ -19,6 +19,26 @@ typedef enum TokenType
{
TOKEN_LITERAL_NUMBER,
TOKEN_LITERAL_CHAR,
+ TOKEN_NOOP,
+ TOKEN_HALT,
+ TOKEN_PUSH,
+ TOKEN_POP,
+ TOKEN_PUSH_REG,
+ TOKEN_MOV,
+ TOKEN_DUP,
+ TOKEN_NOT,
+ TOKEN_OR,
+ TOKEN_AND,
+ TOKEN_XOR,
+ TOKEN_EQ,
+ TOKEN_LT,
+ TOKEN_LTE,
+ TOKEN_GT,
+ TOKEN_GTE,
+ TOKEN_PLUS,
+ TOKEN_PRINT,
+ TOKEN_JUMP,
+ TOKEN_JUMP_IF,
TOKEN_SYMBOL,
} token_type_t;