aboutsummaryrefslogtreecommitdiff
path: root/asm/lexer.h
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-02 23:29:23 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-02 23:29:23 +0000
commit6c4469958e9373773eb7c43d98ff5e20b062c153 (patch)
treebf36f3848031fe2a879aa19048920253bfc06bf9 /asm/lexer.h
parentbd39c2b2835974c4ad9313f49a273df1af5887af (diff)
downloadovm-6c4469958e9373773eb7c43d98ff5e20b062c153.tar.gz
ovm-6c4469958e9373773eb7c43d98ff5e20b062c153.tar.bz2
ovm-6c4469958e9373773eb7c43d98ff5e20b062c153.zip
Implemented CALL(_STACK) and RET on the assembler
Diffstat (limited to 'asm/lexer.h')
-rw-r--r--asm/lexer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/asm/lexer.h b/asm/lexer.h
index 687e1a6..cdddb6a 100644
--- a/asm/lexer.h
+++ b/asm/lexer.h
@@ -51,6 +51,9 @@ typedef enum TokenType
TOKEN_JUMP_ABS,
TOKEN_JUMP_STACK,
TOKEN_JUMP_IF,
+ TOKEN_CALL,
+ TOKEN_CALL_STACK,
+ TOKEN_RET,
TOKEN_SYMBOL,
} token_type_t;