From 22575e056586a7810007952c717eff4e9e005bdb Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sat, 3 Aug 2019 14:44:12 +1200 Subject: File input and output routines away --- assembler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'assembler.c') diff --git a/assembler.c b/assembler.c index 36f3f03..9ffdb85 100644 --- a/assembler.c +++ b/assembler.c @@ -5,7 +5,7 @@ #include "lex.h" #include "parse.h" #include "instruction.h" -#include "output.h" +#include "output/output_bin.h" void print_help(const char *argv0) { @@ -70,7 +70,7 @@ int main(int argc, char **argv) /* FIXME insert optional pass for optimisation */ - if ((ret = output(fout, labels, labels_count, insts, insts_count))) + if ((ret = output_bin(fout, labels, labels_count, insts, insts_count))) return error_ret && ret; return 0; -- cgit v1.1