diff options
Diffstat (limited to 'src/devices/cpu/m6809/base6x09.ops')
-rw-r--r-- | src/devices/cpu/m6809/base6x09.ops | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/m6809/base6x09.ops b/src/devices/cpu/m6809/base6x09.ops index 2bad6eec6f8..d41df55ecef 100644 --- a/src/devices/cpu/m6809/base6x09.ops +++ b/src/devices/cpu/m6809/base6x09.ops @@ -82,7 +82,7 @@ ROR8: ASR8: @m_temp.b.l = read_operand(); - m_cc &= ~CC_NZC; + m_cc &= ~CC_C; m_cc |= (m_temp.b.l & 1) ? CC_C : 0; m_temp.b.l = set_flags<uint8_t>(CC_NZ, ((int8_t) m_temp.b.l) >> 1); @eat(hd6309_native_mode() ? 0 : 1); @@ -168,7 +168,7 @@ ROR16: ASR16: @m_temp.b.h = read_operand(0); @m_temp.b.l = read_operand(1); - m_cc &= ~CC_NZC; + m_cc &= ~CC_C; m_cc |= (m_temp.w & 1) ? CC_C : 0; m_temp.w = set_flags<uint16_t>(CC_NZ, ((int16_t) m_temp.w) >> 1); @eat(hd6309_native_mode() ? 0 : 1); |