Fix #17: Correct disassembly
This commit is contained in:
1 parent
963526621d
commit
2284535b7f
3 files changed
+116
-33
No files matched your search
@@ -1925,6 +1925,7 @@ public class Cpu implements InstructionTable {
|
||||
break;
|
||||
case AIX:
|
||||
sb.append(" ($").append(Utils.wordToHex(Utils.address(args[0], args[1]))).append(",X)");
|
||||
break;
|
||||
case ABX:
|
||||
sb.append(" $").append(Utils.wordToHex(Utils.address(args[0], args[1]))).append(",X");
|
||||
break;
|
||||
@@ -1937,6 +1938,9 @@ public class Cpu implements InstructionTable {
|
||||
case IND:
|
||||
sb.append(" ($").append(Utils.wordToHex(Utils.address(args[0], args[1]))).append(")");
|
||||
break;
|
||||
case ZPI:
|
||||
sb.append(" ($").append(Utils.byteToHex(args[0])).append(")");
|
||||
break;
|
||||
case XIN:
|
||||
sb.append(" ($").append(Utils.byteToHex(args[0])).append(",X)");
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user