From ba8592ceae49adc87affdf2b290ed1cf066cfdee Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 20 May 2022 11:43:26 -0400 Subject: [PATCH] At least on the 68000, Scc is read-modify-write. --- InstructionSets/M68k/Implementation/InstructionOperandFlags.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InstructionSets/M68k/Implementation/InstructionOperandFlags.hpp b/InstructionSets/M68k/Implementation/InstructionOperandFlags.hpp index da99031f5..b524a884b 100644 --- a/InstructionSets/M68k/Implementation/InstructionOperandFlags.hpp +++ b/InstructionSets/M68k/Implementation/InstructionOperandFlags.hpp @@ -46,7 +46,6 @@ template constexpr uint8_t operand_flags(Op // Single-operand write. // case Operation::MOVEfromSR: case Operation::MOVEfromUSP: - case Operation::Scc: return StoreOp1; // @@ -63,6 +62,7 @@ template constexpr uint8_t operand_flags(Op case Operation::LSLm: case Operation::LSRm: case Operation::ROLm: case Operation::RORm: case Operation::ROXLm: case Operation::ROXRm: + case Operation::Scc: return FetchOp1 | StoreOp1; //