summaryrefslogtreecommitdiff
path: root/output/output_asm.h
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2019-08-03 14:44:12 +1200
committerDavid Phillips <david@sighup.nz>2019-08-03 14:47:14 +1200
commit22575e056586a7810007952c717eff4e9e005bdb (patch)
tree92b7407994b7e183f4723ed80641bb75a6f2ca32 /output/output_asm.h
parent085145a1f49ffcae235fa559df254919366fe497 (diff)
downloadtoy-cpu-assembler-22575e056586a7810007952c717eff4e9e005bdb.tar.xz
File input and output routines away
Diffstat (limited to 'output/output_asm.h')
-rw-r--r--output/output_asm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/output/output_asm.h b/output/output_asm.h
new file mode 100644
index 0000000..b4afd2a
--- /dev/null
+++ b/output/output_asm.h
@@ -0,0 +1,6 @@
+#ifndef OUTPUT_ASM_H
+#define OUTPUT_ASM_H
+
+int output_asm(FILE *fout, struct label *labels, size_t label_count, struct instruction *insts, size_t insts_count);
+
+#endif /* OUTPUT_ASM_H */