mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-27 16:31:31 +00:00
Give MOVEPs precedence.
This commit is contained in:
parent
e0d2baae58
commit
dc43f5605b
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user