Something is almost working

This commit is contained in:
2025-02-08 23:23:21 +01:00
parent aaf3dfb40c
commit 45653b6372
15 changed files with 969 additions and 326 deletions

View File

@@ -35,11 +35,15 @@ extern int labelCount;
//
void trim(char *s);
void toUpperCase(char *string);
void toLowerCase(char *string);
// Look up a label by name; returns -1 if not found.
int lookupLabel(const char *name);
// Add a label to the table
void addLabel(const char *name, int address);
int addLabel(const char *name, int address);
//
// Parse a register string (e.g., "R0", "R1", etc.) and return it's number.