1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

At least on the 68000, Scc is read-modify-write.

This commit is contained in:
Thomas Harte 2022-05-20 11:43:26 -04:00
parent 4327af3760
commit ba8592ceae

View File

@ -46,7 +46,6 @@ template <Model model, Operation t_operation> 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 <Model model, Operation t_operation> 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;
//