1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-06-26 04:29:33 +00:00

Fixes typo and whitespace

This commit is contained in:
Scot W. Stevenson 2019-01-16 08:05:54 +01:00
parent 4c89c23c87
commit 8cf1862f12

View File

@ -2076,7 +2076,7 @@ class Common6502Tests:
mpu.a = 10
mpu.step()
self.assertEqual(0x0002, mpu.pc)
self.assertEqual(0, mpu.p & mpu.NEGATIVE) # 0x0A-0x01 = 0x0B
self.assertEqual(0, mpu.p & mpu.NEGATIVE) # 0x0A-0x01 = 0x09
self.assertEqual(0, mpu.p & mpu.ZERO)
self.assertEqual(mpu.CARRY, mpu.p & mpu.CARRY) # A>m unsigned
@ -2108,7 +2108,7 @@ class Common6502Tests:
# CPX Immediate
def test_cpx_imm_sets_zero_carry_clears_neg_flags_if_equal(self):
"""Comparison: X == #nn"""
"""Comparison: X == m"""
mpu = self._make_mpu()
# $0000 CPX #$20
self._write(mpu.memory, 0x0000, (0xE0, 0x20))
@ -2123,7 +2123,7 @@ class Common6502Tests:
# CPY Immediate
def test_cpy_imm_sets_zero_carry_clears_neg_flags_if_equal(self):
"""Comparison: Y == #nn"""
"""Comparison: Y == m"""
mpu = self._make_mpu()
# $0000 CPY #$30
self._write(mpu.memory, 0x0000, (0xC0, 0x30))