Updated the parser to be able to correctly sync via a longjmp. Fixed a few bugs in the tokenizer, like not allowing underscores in symbol / label names and taught it how to detect a label declaration. Fixed the code that gets the register name.

This commit is contained in:
2025-06-26 23:24:03 -05:00
parent 3a5788f4ab
commit 428556a7a1
9 changed files with 141 additions and 63 deletions
+1
View File
@@ -16,6 +16,7 @@ typedef enum {
Register,
Mnemonic,
Keyword,
Label,
LineEnd = '\n',
Colon = ':',
Comma = ',',