bugfix: XOR decoding as OR, and vice versa

This commit is contained in:
John 2024-06-25 21:19:48 -05:00
parent 193659e032
commit dbc9552908

View File

@ -200,8 +200,8 @@ impl From<u8> for Insn {
2 => Insn::Sub(low.into()),
3 => Insn::Sbc(low.into()),
4 => Insn::And(low.into()),
5 => Insn::Or(low.into()),
6 => Insn::Xor(low.into()),
5 => Insn::Xor(low.into()),
6 => Insn::Or(low.into()),
7 => Insn::Cp(low.into()),
_ => unreachable!(),
},