From 6a442e01360904cd841dd19d4cc01b2980b7f008 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 20 May 2022 20:34:51 -0400 Subject: [PATCH] MOVEM has an immediate first operand. --- .../M68k/Implementation/InstructionOperandFlags.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InstructionSets/M68k/Implementation/InstructionOperandFlags.hpp b/InstructionSets/M68k/Implementation/InstructionOperandFlags.hpp index b524a884b..6c83cd310 100644 --- a/InstructionSets/M68k/Implementation/InstructionOperandFlags.hpp +++ b/InstructionSets/M68k/Implementation/InstructionOperandFlags.hpp @@ -24,8 +24,6 @@ template constexpr uint8_t operand_flags(Op case Operation::PEA: case Operation::JMP: case Operation::JSR: case Operation::MOVEPw: case Operation::MOVEPl: - case Operation::MOVEMtoMw: case Operation::MOVEMtoMl: - case Operation::MOVEMtoRw: case Operation::MOVEMtoRl: case Operation::TAS: case Operation::RTR: case Operation::RTS: case Operation::RTE: return 0; @@ -40,6 +38,8 @@ template constexpr uint8_t operand_flags(Op case Operation::Bccb: case Operation::Bccw: case Operation::Bccl: case Operation::BSRb: case Operation::BSRw: case Operation::BSRl: case Operation::TSTb: case Operation::TSTw: case Operation::TSTl: + case Operation::MOVEMtoMw: case Operation::MOVEMtoMl: + case Operation::MOVEMtoRw: case Operation::MOVEMtoRl: return FetchOp1; //