1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 08:49:37 +00:00

Give MOVEPs precedence.

This commit is contained in:
Thomas Harte 2022-04-20 08:40:56 -04:00
parent e0d2baae58
commit dc43f5605b

View File

@ -685,16 +685,6 @@ Preinstruction Predecoder<model>::decode0(uint16_t instruction) {
default: break;
}
switch(instruction & 0x1c0) {
case 0x100: Decode(Op::BTST); // 4-62 (p166)
case 0x180: Decode(Op::BCLR); // 4-31 (p135)
case 0x140: Decode(Op::BCHG); // 4-28 (p132)
case 0x1c0: Decode(Op::BSET); // 4-57 (p161)
default: break;
}
switch(instruction & 0x1f8) {
// 4-133 (p237)
case 0x108: Decode(MOVEPtoRw);
@ -705,6 +695,16 @@ Preinstruction Predecoder<model>::decode0(uint16_t instruction) {
default: break;
}
switch(instruction & 0x1c0) {
case 0x100: Decode(Op::BTST); // 4-62 (p166)
case 0x180: Decode(Op::BCLR); // 4-31 (p135)
case 0x140: Decode(Op::BCHG); // 4-28 (p132)
case 0x1c0: Decode(Op::BSET); // 4-57 (p161)
default: break;
}
return Preinstruction();
}