From 4181313cc64eb61c4161f5863514fb5138be04da Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 19 Apr 2022 20:28:00 -0400 Subject: [PATCH] Correct decoding of SWAP. --- InstructionSets/68k/Decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InstructionSets/68k/Decoder.cpp b/InstructionSets/68k/Decoder.cpp index e054a1efd..b6d126c9c 100644 --- a/InstructionSets/68k/Decoder.cpp +++ b/InstructionSets/68k/Decoder.cpp @@ -742,7 +742,7 @@ Preinstruction Predecoder::decode4(uint16_t instruction) { } switch(instruction & 0xff8) { - case 0x860: Decode(Op::SWAP); // 4-185 (p289) + case 0x840: Decode(Op::SWAP); // 4-185 (p289) case 0x880: Decode(Op::EXTbtow); // 4-106 (p210) case 0x8c0: Decode(Op::EXTwtol); // 4-106 (p210) case 0xe50: Decode(Op::LINKw); // 4-111 (p215)