diff --git a/Processors/68000Mk2/Implementation/68000Mk2Implementation.hpp b/Processors/68000Mk2/Implementation/68000Mk2Implementation.hpp index a79f4c5e3..6fd7c073b 100644 --- a/Processors/68000Mk2/Implementation/68000Mk2Implementation.hpp +++ b/Processors/68000Mk2/Implementation/68000Mk2Implementation.hpp @@ -68,6 +68,8 @@ enum ExecutionState: int { MOVEw, MOVEwRegisterDirect, MOVEwAddressRegisterIndirectWithPostincrement, + + SABCD_PreDec, }; // MARK: - The state machine. @@ -288,6 +290,7 @@ void Processor( + instruction_, operand_[0], operand_[1], status_, *static_cast(this)); + + SetupDataAccess(0, Microcycle::SelectByte); + Access(operand_[1].low); // nw + + MoveToState(Decode); + // Various states TODO. #define TODOState(x) \ BeginState(x): [[fallthrough]];