From a9d305da3f675b7cbd5d62f961a73a01bddaa7a5 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 15 Apr 2017 21:31:00 +0000 Subject: [PATCH] consensus of everyone is that ZP,y instructions should print ex. "LDX $01,Y" instead of "LDX $0001,Y". Fixes #784 --- trunk/src/asm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/asm.cpp b/trunk/src/asm.cpp index 82211556..7dfb155f 100644 --- a/trunk/src/asm.cpp +++ b/trunk/src/asm.cpp @@ -516,7 +516,7 @@ char *Disassemble(int addr, uint8 *opcode) { zpIndex(tmp,RY); // ################################## Start of SP CODE ########################### // Change width to %04X - sprintf(str,"%s $%04X,Y @ $%04X = #$%02X", chr,opcode[1],tmp,GetMem(tmp)); + sprintf(str,"%s $%02X,Y @ $%04X = #$%02X", chr,opcode[1],tmp,GetMem(tmp)); // ################################## End of SP CODE ########################### break;