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

Corrects AccessType::Read.

This commit is contained in:
Thomas Harte 2021-01-16 20:04:48 -05:00
parent 3b2d65fa16
commit 8f2eea8819

View File

@ -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;
}