final tests
This commit is contained in:
parent
a18612f583
commit
a84655600d
34 changed files with 309 additions and 32 deletions
2
boot.c
2
boot.c
|
|
@ -1870,7 +1870,7 @@ void parse_function(char* name) {
|
|||
|
||||
void parse_global_variable(int id, char* name, int type) {
|
||||
printf(".data\n");
|
||||
printf(".globl %s\n", name);
|
||||
printf(".global %s\n", name);
|
||||
printf(".align 5\n");
|
||||
printf("%s:\n", name);
|
||||
if (token_type == TOKEN_ASSIGN) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue