aboutsummaryrefslogtreecommitdiff
path: root/asm/lexer.h
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-01 22:56:40 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-01 22:56:40 +0000
commit740627b12dc33aec2753363a3f5bebf10db07cb5 (patch)
treef2e4d394373e47daebe74496112e21ba2fe99b17 /asm/lexer.h
parentac3270777b3f9a13bb94c99e9fad041775d3f070 (diff)
downloadovm-740627b12dc33aec2753363a3f5bebf10db07cb5.tar.gz
ovm-740627b12dc33aec2753363a3f5bebf10db07cb5.tar.bz2
ovm-740627b12dc33aec2753363a3f5bebf10db07cb5.zip
Implemented MALLOC_STACK and SUB in the assembler
Diffstat (limited to 'asm/lexer.h')
-rw-r--r--asm/lexer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/asm/lexer.h b/asm/lexer.h
index e8897b6..6b17b04 100644
--- a/asm/lexer.h
+++ b/asm/lexer.h
@@ -27,6 +27,7 @@ typedef enum TokenType
TOKEN_MOV,
TOKEN_DUP,
TOKEN_MALLOC,
+ TOKEN_MALLOC_STACK,
TOKEN_MSET,
TOKEN_MSET_STACK,
TOKEN_MGET,
@@ -43,6 +44,7 @@ typedef enum TokenType
TOKEN_GT,
TOKEN_GTE,
TOKEN_PLUS,
+ TOKEN_SUB,
TOKEN_MULT,
TOKEN_PRINT,
TOKEN_JUMP,