From 157c79d53c4d04f6c6af1103a2db3a652b240edb Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 29 Oct 2023 16:58:58 +0000 Subject: Added a "usage" message and colours for assembler Prints useful and pretty messages when verbose being at least 1. --- vm/main.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'vm/main.c') diff --git a/vm/main.c b/vm/main.c index 2b82cd3..2594edc 100644 --- a/vm/main.c +++ b/vm/main.c @@ -42,15 +42,6 @@ int interpret_bytecode(const char *filepath) return ret; } -int assemble_instructions(inst_t *instructions, size_t number, - const char *filepath) -{ - FILE *fp = fopen(filepath, "wb"); - insts_write_bytecode_file(instructions, number, fp); - fclose(fp); - return 0; -} - void usage(const char *program_name, FILE *out) { fprintf(out, -- cgit v1.2.3-13-gbd6f