diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2020-05-03 15:51:57 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2020-05-03 15:51:57 -0400 |
commit | 1c622005c289ef1cd9feea277bd0ff46b19d15f0 (patch) | |
tree | b5258bd461ac2070c39e0eb437da676a10e295c3 /asmmon.c | |
parent | ed88644ded82008577804c590bec7188ef0da011 (diff) |
Put the instruction, and I/O routines into separate
functions.
I did this to make it more readable, while still
making it fast, due to inlining it.
Diffstat (limited to 'asmmon.c')
-rw-r--r-- | asmmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -576,7 +576,7 @@ uint64_t assemble(struct line *line, uint8_t dbg) { int asmmon(const char *fn) { FILE *fp; - FILE *fp2; + FILE *fp2 = NULL; char *path = malloc(0x400); if (strcasecmp(fn, "stdin")) { uint16_t i = 0; |