1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-08-19 17:29:34 +00:00

Show nothing if no value is associated with an instruction

This commit is contained in:
Peter Evans 2018-01-22 12:31:19 -06:00
parent 945bf23f22
commit 56433e2ebe

View File

@ -297,6 +297,7 @@ mos6502_dis_opcode(mos6502 *cpu, FILE *stream, int address)
if (stream) {
s_label[0] = '\0';
s_oper[0] = '\0';
s_value[0] = '\0';
// Hey! We might have a label at this position in the code. If
// so, let's print out the label.