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.
This commit is contained in:
2023-11-03 19:01:31 +00:00
parent 32d50a9342
commit b5a1582976
4 changed files with 104 additions and 38 deletions

View File

@@ -17,6 +17,7 @@
typedef enum TokenType
{
TOKEN_GLOBAL,
TOKEN_STAR,
TOKEN_LITERAL_NUMBER,
TOKEN_LITERAL_CHAR,