mirror of
https://github.com/mnaberez/py65.git
synced 2024-09-06 10:54:32 +00:00
Rerenamed 0x3a and 0x1a to DEC A, with correct addressing mode (acc)
Signed-off-by: Mike Naberezny <mike@naberezny.com>
This commit is contained in:
parent
2efc5ef48f
commit
e01f2c35d5
@ -232,7 +232,7 @@ class MPU(mpu6502.MPU):
|
||||
self.opTRB(self.ZeroPageAddr)
|
||||
self.pc += 1
|
||||
|
||||
@instruction(name="INA", mode="imp", cycles=2)
|
||||
@instruction(name="INC", mode="acc", cycles=2)
|
||||
def inst_0x1a(self):
|
||||
tbyte = self.a
|
||||
self.flags &= ~(self.ZERO + self.NEGATIVE)
|
||||
@ -248,7 +248,7 @@ class MPU(mpu6502.MPU):
|
||||
self.opTRB(self.AbsoluteAddr)
|
||||
self.pc += 2
|
||||
|
||||
@instruction(name="DEA", mode="imp", cycles=2)
|
||||
@instruction(name="DEC", mode="acc", cycles=2)
|
||||
def inst_0x3a(self):
|
||||
tbyte = self.a
|
||||
self.flags &= ~(self.ZERO + self.NEGATIVE)
|
||||
|
Loading…
Reference in New Issue
Block a user