mirror of
https://github.com/mnaberez/py65.git
synced 2024-11-10 09:05:05 +00:00
Fix cycle count of opcode 0xD2 (CMP zpi)
This commit is contained in:
parent
ac8962ea10
commit
24f984949a
@ -7,6 +7,9 @@
|
||||
was named "PHY" instead of "PLY", causing incorrect assembly
|
||||
and disassembly. Thanks to Brian Cassidy for reporting it.
|
||||
|
||||
- Fixed the cycle count of 0xD2 (CMP zero page indirect) in
|
||||
the 65C02 simulation. Thanks to Brian Cassidy for reporting it.
|
||||
|
||||
0.11 (2012-01-07)
|
||||
|
||||
- Added a new 65Org16 MPU simulation written by Ed Spittles.
|
||||
|
@ -258,7 +258,7 @@ class MPU(mpu6502.MPU):
|
||||
def inst_0xCB(self):
|
||||
self.waiting = True
|
||||
|
||||
@instruction(name="CMP", mode='zpi', cycles=6) # Don't know cycles
|
||||
@instruction(name="CMP", mode='zpi', cycles=5)
|
||||
def inst_0xD2(self):
|
||||
self.opCPY(self.ZeroPageIndirectAddr)
|
||||
self.pc += 1
|
||||
|
Loading…
Reference in New Issue
Block a user