mirror of
https://github.com/mnaberez/py65.git
synced 2025-02-08 16:30:35 +00:00
Added zero page indirect CMP to 65C02
Signed-off-by: Mike Naberezny <mike@naberezny.com>
This commit is contained in:
parent
c464569946
commit
667321381b
@ -267,6 +267,11 @@ class MPU(mpu6502.MPU):
|
||||
def inst_0xCB(self):
|
||||
self.waiting = True
|
||||
|
||||
@instruction(name="CMP", mode='zpi', cycles=6) # Don't know cycles
|
||||
def inst_0xD2(self):
|
||||
self.opCPY(self.ZeroPageIndirectAddr)
|
||||
self.pc += 1
|
||||
|
||||
@instruction(name="SBC", mode="zpi", cycles=5)
|
||||
def inst_0xf2(self):
|
||||
self.opSBC(self.ZeroPageIndirectAddr)
|
||||
|
Loading…
x
Reference in New Issue
Block a user