mirror of
https://github.com/mnaberez/py65.git
synced 2025-08-14 19:27:40 +00:00
Renamed DEC A to DEA
Signed-off-by: Mike Naberezny <mike@naberezny.com>
This commit is contained in:
committed by
Mike Naberezny
parent
1f3c93b093
commit
a8d6b0e166
@@ -237,7 +237,7 @@ class MPU(mpu6502.MPU):
|
|||||||
self.opTRB(self.AbsoluteAddr)
|
self.opTRB(self.AbsoluteAddr)
|
||||||
self.pc += 2
|
self.pc += 2
|
||||||
|
|
||||||
@instruction(name="DEC", mode="imp", cycles=2)
|
@instruction(name="DEA", mode="imp", cycles=2)
|
||||||
def inst_0x3a(self):
|
def inst_0x3a(self):
|
||||||
tbyte = self.a
|
tbyte = self.a
|
||||||
self.flags &= ~(self.ZERO + self.NEGATIVE)
|
self.flags &= ~(self.ZERO + self.NEGATIVE)
|
||||||
|
Reference in New Issue
Block a user