consensus of everyone is that ZP,y instructions should print ex. "LDX $01,Y" instead of "LDX $0001,Y". Fixes #784

This commit is contained in:
zeromus 2017-04-15 21:31:00 +00:00
parent a85ba2a641
commit a9d305da3f
1 changed files with 1 additions and 1 deletions

View File

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