bugfix: XOR decoding as OR, and vice versa
This commit is contained in:
parent
193659e032
commit
dbc9552908
@ -200,8 +200,8 @@ impl From<u8> for Insn {
|
|||||||
2 => Insn::Sub(low.into()),
|
2 => Insn::Sub(low.into()),
|
||||||
3 => Insn::Sbc(low.into()),
|
3 => Insn::Sbc(low.into()),
|
||||||
4 => Insn::And(low.into()),
|
4 => Insn::And(low.into()),
|
||||||
5 => Insn::Or(low.into()),
|
5 => Insn::Xor(low.into()),
|
||||||
6 => Insn::Xor(low.into()),
|
6 => Insn::Or(low.into()),
|
||||||
7 => Insn::Cp(low.into()),
|
7 => Insn::Cp(low.into()),
|
||||||
_ => unreachable!(),
|
_ => unreachable!(),
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user