diff --git a/Processors/6502/Implementation/6502Implementation.hpp b/Processors/6502/Implementation/6502Implementation.hpp index 0481b84ba..3a223eeae 100644 --- a/Processors/6502/Implementation/6502Implementation.hpp +++ b/Processors/6502/Implementation/6502Implementation.hpp @@ -347,6 +347,8 @@ template void Proces a_ = result; if(is_65c02(personality)) { + // 65C02 fix: N and Z are set correctly based on the final BCD result, at the cost of + // an extra cycle. flags_.set_nz(a_); read_mem(operand_, address_.full); break;