diff options
| author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-03 19:01:31 +0000 |
|---|---|---|
| committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-03 19:01:31 +0000 |
| commit | b5a1582976c721dbb9ece622226be0e5ea575fd8 (patch) | |
| tree | 36e2f70ba6beb73ac66564e820c64876574ea4a9 /asm/lexer.h | |
| parent | 32d50a9342c46d00062f6fe69f817560f1938884 (diff) | |
| download | ovm-b5a1582976c721dbb9ece622226be0e5ea575fd8.tar.gz ovm-b5a1582976c721dbb9ece622226be0e5ea575fd8.tar.bz2 ovm-b5a1582976c721dbb9ece622226be0e5ea575fd8.zip | |
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.
Diffstat (limited to 'asm/lexer.h')
| -rw-r--r-- | asm/lexer.h | 1 |
1 files changed, 1 insertions, 0 deletions
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, |
