MOS6502: Issue #56. CPY was slightly erroneous, but working fine now.