diff --git a/src/cpu/disasm.rs b/src/cpu/disasm.rs index 7bcfc1e..c7c0d95 100644 --- a/src/cpu/disasm.rs +++ b/src/cpu/disasm.rs @@ -200,8 +200,8 @@ impl From 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!(), },