1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2024-12-13 01:29:57 +00:00

Fix relative address pritning in disassembly.

This commit is contained in:
Radosław Kujawa 2017-01-29 13:55:53 +01:00
parent f5a4f45127
commit e0fa334e3e

View File

@ -110,7 +110,7 @@ instruction_print(instruction_t *i)
printf("%s (%#02x%02x,X)", id.mnemonic, i->op2, i->op1); printf("%s (%#02x%02x,X)", id.mnemonic, i->op2, i->op1);
break; break;
case RELATIVE: case RELATIVE:
printf("%s %#02x%02x", id.mnemonic, i->op2, i->op1); printf("%s %#02x", id.mnemonic, i->op1);
break; break;
} }
} }