From ab37b003566bea466b36ba8eab76b58957bdcb8a Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 25 Oct 2022 10:04:36 -0400 Subject: [PATCH] Add model constraint to DIVS.l. --- InstructionSets/M68k/Decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InstructionSets/M68k/Decoder.cpp b/InstructionSets/M68k/Decoder.cpp index a75850a83..120ee13fa 100644 --- a/InstructionSets/M68k/Decoder.cpp +++ b/InstructionSets/M68k/Decoder.cpp @@ -1324,7 +1324,7 @@ Preinstruction Predecoder::decode4(uint16_t instruction) { case 0xec0: Decode(Op::JMP); // 4-94 (p198) - case 0xc40: Decode(Op::DIVSl); + case 0xc40: DecodeReq(model >= Model::M68020, Op::DIVSl); default: break; }