From e0fa334e3ed7273d372c15d26e434ea5f6256ee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Kujawa?= Date: Sun, 29 Jan 2017 13:55:53 +0100 Subject: [PATCH] Fix relative address pritning in disassembly. --- src/instruction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/instruction.c b/src/instruction.c index 23dd4ba..7f5303e 100644 --- a/src/instruction.c +++ b/src/instruction.c @@ -110,7 +110,7 @@ instruction_print(instruction_t *i) printf("%s (%#02x%02x,X)", id.mnemonic, i->op2, i->op1); break; case RELATIVE: - printf("%s %#02x%02x", id.mnemonic, i->op2, i->op1); + printf("%s %#02x", id.mnemonic, i->op1); break; } }