From 6a7436a09c77dfc72349d26f43fdeb4b9ea7f4fd Mon Sep 17 00:00:00 2001 From: Jeremiah Orians Date: Sun, 21 Aug 2016 15:49:39 -0400 Subject: [PATCH] Make output of Disassembly program usable for IDE --- High_level_prototypes/disasm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/High_level_prototypes/disasm.c b/High_level_prototypes/disasm.c index bf40955..3ed63cc 100644 --- a/High_level_prototypes/disasm.c +++ b/High_level_prototypes/disasm.c @@ -1272,8 +1272,7 @@ void eval_instruction(struct Instruction* c) } default: /* Not supported by this disassembler */ { - fprintf(stderr, "Unable to decode the following instruction:\n%c %c %c %c\n", c->raw0, c->raw1, c->raw2, c->raw3); - fprintf(stderr, "%s\n\n", c->operation); + fprintf(stdout, "ILLEGAL INSTRUCTION\t# %s\n", c->operation); } } }