1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-07-07 01:28:55 +00:00

Fixed opcode for ROL.

This commit is contained in:
Mike Naberezny 2009-08-10 14:17:58 -07:00
parent 3590384515
commit 4222605c9e

View File

@ -2969,7 +2969,7 @@ class Common6502Tests:
mpu = self._make_mpu()
mpu.a = 0x7F
mpu.flags &= ~(mpu.CARRY)
mpu.memory[0x0000] = 0x0A #=> ROL A
mpu.memory[0x0000] = 0x2A #=> ROL A
mpu.step()
self.assertEquals(0x0001, mpu.pc)
self.assertEquals(0xFE, mpu.a)