#include "nedasm_parser.h"
#include "nedasm_codegen.h"
-#define VERSION 1
+#define VERSION 2
void
print_usage(char ** argv)
*/
parse_assembly(&instructions, input);
fclose(input);
-// if (instructions == NULL) {
-// fprintf(stderr, "ERROR: Failed to parse any input.\n");
-// exit(EXIT_FAILURE);
-// }
/*
* Make passes over the intermediate representation to enforce architecture
enforce_word_boundary(instructions);
assign_addresses(instructions);
resolve_labels(instructions);
- prune_label_structs(instructions);
generate_code(instructions, output);