summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Michaël Banaan Ananas <happppp@users.noreply.github.com>2013-03-16 21:06:33 +0000
committer Michaël Banaan Ananas <happppp@users.noreply.github.com>2013-03-16 21:06:33 +0000
commit3018feb50fc7f35773285fbb49626a5f345778e8 (patch)
treeb13fc90a371788683a1a63f7a4dafc8c4c2c60ba /src
parent04c369f8d1d4085ceeab84672930a9818d5be046 (diff)
i overlooked this one
Diffstat (limited to 'src')
-rw-r--r--src/emu/cpu/m6809/base6x09.ops2
1 files changed, 1 insertions, 1 deletions
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<UINT16>(CC_NZ, ((INT16) m_temp.w) >> 1);
@eat(hd6309_native_mode() ? 0 : 1);
@write_operand(0, m_temp.b.h);