From 8f2eea8819d5909ad68b62c1d3624ce0881bcc9d Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 16 Jan 2021 20:04:48 -0500 Subject: [PATCH] Corrects AccessType::Read. --- InstructionSets/M50740/Instruction.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }