Fix disassembled opcode display on trace log for zero page,X and zero page,Y addressing modes.
This commit is contained in:
1 parent
4ccb7bec97
commit
429fec97b2
1 file changed
+2
-2
@@ -1464,10 +1464,10 @@ public class Cpu implements InstructionTable {
|
||||
sb.append(" $" + HexUtil.byteToHex(args[0]));
|
||||
break;
|
||||
case ZPX:
|
||||
sb.append(" $" + HexUtil.byteToHex(a) + ",X");
|
||||
sb.append(" $" + HexUtil.byteToHex(args[0]) + ",X");
|
||||
break;
|
||||
case ZPY:
|
||||
sb.append(" $" + HexUtil.byteToHex(a) + ",Y");
|
||||
sb.append(" $" + HexUtil.byteToHex(args[0]) + ",Y");
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user