Modified how registers and opcodes are represented. This commit is a bit buggy but doesn't crash and burn at least. I just wanted the new structs push out before making a bigger mess of things as I try to organize this all.

This commit is contained in:
2022-02-17 21:35:57 -06:00
parent 3d4ab57f05
commit 19021ff782
6 changed files with 106 additions and 59 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ int main(int argc, char* args[]) {
printf("Token Type: '%d' Value: '%s' (%d)\n", t->type, t->value, line_number);
free(t->value);
if (t->type <= ORG) free(t->value);
}
DestroyList(tokens);