We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 391c7a2 commit 13b6866Copy full SHA for 13b6866
src/CPU.java
@@ -758,7 +758,7 @@ public void IZY() {
758
}
759
760
public void ZPI() {
761
- short lowPointer = Bus.read(programCounter++);
+ short lowPointer = (short) (Bus.read(programCounter++) & 0x00ff);
762
763
addressAbsolute = (short)(Byte.toUnsignedInt(Bus.read((short)(lowPointer+1)))*256+Byte.toUnsignedInt(Bus.read(lowPointer)));
764
0 commit comments