Make output of Disassembly program usable for IDE

This commit is contained in:
Jeremiah Orians 2016-08-21 15:49:39 -04:00
parent c500eea1f5
commit 6a7436a09c
No known key found for this signature in database
GPG Key ID: 7457821534D2ACCD
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}
}
}