Added support for the STORE directive.

This commit is contained in:
2023-03-29 12:57:07 -05:00
parent ee60d14570
commit 2e888913be
3 changed files with 43 additions and 2 deletions
+8
View File
@@ -299,6 +299,14 @@ Token* ParseIdentifier(void) {
return token;
}
if (strcmp(lexeme, "store") == 0) {
Token* token = CreateToken(Line, DirectiveClass);
token->Lemexe = lexeme;
token->Value.Directive = Store;
return token;
}
Token* token = CreateToken(Line, IdentifierClass);