diff --git a/Processors/65816/Implementation/65816Implementation.hpp b/Processors/65816/Implementation/65816Implementation.hpp index 3b1ba85f7..54fd9e835 100644 --- a/Processors/65816/Implementation/65816Implementation.hpp +++ b/Processors/65816/Implementation/65816Implementation.hpp @@ -187,7 +187,7 @@ template void Processor::run_for(const Cycles case OperationCopyAToData: if(m_flag()) { data_buffer_.size = 1; - data_buffer_.value = a_.halves.high; + data_buffer_.value = a_.halves.low; } else { data_buffer_.size = 2; data_buffer_.value = a_.full; @@ -196,7 +196,7 @@ template void Processor::run_for(const Cycles case OperationCopyDataToA: if(m_flag()) { - a_.halves.high = data_buffer_.value; + a_.halves.low = data_buffer_.value; } else { a_.full = data_buffer_.value; }