diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-29 16:58:58 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-29 16:59:31 +0000 |
commit | 157c79d53c4d04f6c6af1103a2db3a652b240edb (patch) | |
tree | ec6e535c94dcd65a2c5d39ae9361ca01b827722a /vm/main.c | |
parent | 597a45aa73d4d66fce4dd9135087e0e82f46899c (diff) | |
download | ovm-157c79d53c4d04f6c6af1103a2db3a652b240edb.tar.gz ovm-157c79d53c4d04f6c6af1103a2db3a652b240edb.tar.bz2 ovm-157c79d53c4d04f6c6af1103a2db3a652b240edb.zip |
Added a "usage" message and colours for assembler
Prints useful and pretty messages when verbose being at least 1.
Diffstat (limited to 'vm/main.c')
-rw-r--r-- | vm/main.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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, |