From bf9fc0ae9677ba3c31513c849c11d07adcf92347 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 21 Apr 2022 16:24:34 -0400 Subject: [PATCH] Correct decoding of BSR. --- 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 14f66fc04..9f749a065 100644 --- a/InstructionSets/68k/Decoder.cpp +++ b/InstructionSets/68k/Decoder.cpp @@ -1037,7 +1037,7 @@ Preinstruction Predecoder::decode6(uint16_t instruction) { switch(instruction & 0xf00) { // 4-59 (p163) - case 1: + case 0x100: switch(instruction & 0xff) { case 0x00: Decode(Op::BSRw); case 0xff: