diff --git a/InstructionSets/M50740/Instruction.hpp b/InstructionSets/M50740/Instruction.hpp index fa5c20897..f823c4ee3 100644 --- a/InstructionSets/M50740/Instruction.hpp +++ b/InstructionSets/M50740/Instruction.hpp @@ -101,7 +101,7 @@ enum class Operation: uint8_t { constexpr AccessType access_type(Operation operation) { if(operation < Operation::ADC) return AccessType::None; - if(operation < Operation::LDM) return AccessType::Read; + if(operation < Operation::ASL) return AccessType::Read; if(operation < Operation::LDM) return AccessType::Write; return AccessType::ReadModifyWrite; }