From 1f3c93b0933ed1e4986261eef4b291345483c040 Mon Sep 17 00:00:00 2001 From: Mike Naberezny Date: Sun, 12 Apr 2009 18:43:40 -0700 Subject: [PATCH] Improve test for ORA. (offe) --- src/py65/tests/devices/test_mpu65c02.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/py65/tests/devices/test_mpu65c02.py b/src/py65/tests/devices/test_mpu65c02.py index d2b8536..b2c0142 100644 --- a/src/py65/tests/devices/test_mpu65c02.py +++ b/src/py65/tests/devices/test_mpu65c02.py @@ -268,6 +268,8 @@ class MPUTests(unittest.TestCase, Common6502Tests): mpu = self._make_mpu() mpu.flags &= ~(mpu.ZERO) mpu.a = 0x00 + mpu.y = 0x12 # These should not affect the ORA + mpu.x = 0x34 self._write(mpu.memory, 0x0000, (0x12, 0x10)) #=> ORA ($0010) self._write(mpu.memory, 0x0010, (0xCD, 0xAB)) #=> Vector to $ABCD mpu.memory[0xABCD] = 0x00