From 740627b12dc33aec2753363a3f5bebf10db07cb5 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 1 Nov 2023 22:56:40 +0000 Subject: Implemented MALLOC_STACK and SUB in the assembler --- asm/lexer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'asm/lexer.h') 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, -- cgit v1.2.3-13-gbd6f