aboutsummaryrefslogtreecommitdiff
path: root/asm/lexer.h
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-01 21:39:48 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-01 21:40:25 +0000
commit75649381132924c4cb5e4fa215e200e2457a1434 (patch)
tree4abbb6ab858c2f8bb9003724bf4a8b0158aaeccc /asm/lexer.h
parent32c1bcb859426c73e3bc45fa537e932018346d07 (diff)
downloadovm-75649381132924c4cb5e4fa215e200e2457a1434.tar.gz
ovm-75649381132924c4cb5e4fa215e200e2457a1434.tar.bz2
ovm-75649381132924c4cb5e4fa215e200e2457a1434.zip
Implemented lexer and parser for new memory management instructions
Diffstat (limited to 'asm/lexer.h')
-rw-r--r--asm/lexer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/asm/lexer.h b/asm/lexer.h
index 9ae6fcf..c7d1f3d 100644
--- a/asm/lexer.h
+++ b/asm/lexer.h
@@ -26,6 +26,10 @@ typedef enum TokenType
TOKEN_PUSH_REG,
TOKEN_MOV,
TOKEN_DUP,
+ TOKEN_MALLOC,
+ TOKEN_MSET,
+ TOKEN_MGET,
+ TOKEN_MDELETE,
TOKEN_NOT,
TOKEN_OR,
TOKEN_AND,