From 3f80df1feba054c087cec02a3ca05e4d797c6d95 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 27 Oct 2022 09:49:20 -0400 Subject: [PATCH] Additional TST modes become available on the 68020. --- InstructionSets/M68k/Decoder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InstructionSets/M68k/Decoder.cpp b/InstructionSets/M68k/Decoder.cpp index f7a3b8cbf..a21586763 100644 --- a/InstructionSets/M68k/Decoder.cpp +++ b/InstructionSets/M68k/Decoder.cpp @@ -365,7 +365,7 @@ template ::OpT op> uint32_t Predecoder::invali >::value; case OpT(Operation::TSTb): - if constexpr (model == Model::M68000) { + if constexpr (model < Model::M68020) { return ~OneOperandMask< AlterableAddressingModesNoAn >::value; @@ -378,7 +378,7 @@ template ::OpT op> uint32_t Predecoder::invali >::value; case OpT(Operation::TSTw): case OpT(Operation::TSTl): - if constexpr (model == Model::M68000) { + if constexpr (model < Model::M68020) { return ~OneOperandMask< AlterableAddressingModesNoAn >::value;