From b5a1582976c721dbb9ece622226be0e5ea575fd8 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 3 Nov 2023 19:01:31 +0000 Subject: Added a start address (equivalent to `main`) to assembler Creates a jump address to the label delegated by "global" so program starts at that point. --- asm/lexer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'asm/lexer.h') diff --git a/asm/lexer.h b/asm/lexer.h index cdddb6a..0ced4ca 100644 --- a/asm/lexer.h +++ b/asm/lexer.h @@ -17,6 +17,7 @@ typedef enum TokenType { + TOKEN_GLOBAL, TOKEN_STAR, TOKEN_LITERAL_NUMBER, TOKEN_LITERAL_CHAR, -- cgit v1.2.3-13-gbd6f