From 3018feb50fc7f35773285fbb49626a5f345778e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Sat, 16 Mar 2013 21:06:33 +0000 Subject: [PATCH] i overlooked this one --- src/emu/cpu/m6809/base6x09.ops | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/cpu/m6809/base6x09.ops b/src/emu/cpu/m6809/base6x09.ops index ba4f9e223f0..38ec4413e2a 100644 --- a/src/emu/cpu/m6809/base6x09.ops +++ b/src/emu/cpu/m6809/base6x09.ops @@ -164,7 +164,7 @@ ASR16: @m_temp.b.h = read_operand(0); @m_temp.b.l = read_operand(1); m_cc &= ~CC_NZC; - m_cc |= (m_temp.b.l & 1) ? CC_C : 0; + m_cc |= (m_temp.w & 1) ? CC_C : 0; m_temp.w = set_flags(CC_NZ, ((INT16) m_temp.w) >> 1); @eat(hd6309_native_mode() ? 0 : 1); @write_operand(0, m_temp.b.h);