summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2013-03-09 17:46:19 +0000
committer Nathan Woods <npwoods@mess.org>2013-03-09 17:46:19 +0000
commit74408485b76a42bbe5d071998386ad5f95dc4071 (patch)
treef865e0154d7723c8d3603b2abc22c40ebb3c4b72 /src/emu/cpu
parent41cd5351957cd0847e78576f3aeceb4eeefdb531 (diff)
m6809: Now setting the E condition code when SWI instruction is executed (nw)
Diffstat (limited to 'src/emu/cpu')
-rw-r--r--src/emu/cpu/m6809/base6x09.ops1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/cpu/m6809/base6x09.ops b/src/emu/cpu/m6809/base6x09.ops
index 953e279205d..c0a1f59c0db 100644
--- a/src/emu/cpu/m6809/base6x09.ops
+++ b/src/emu/cpu/m6809/base6x09.ops
@@ -489,6 +489,7 @@ SWI:
// doesn't use SOFTWARE_INTERRUPT label because SWI will
// inhibit IRQ/FIRQ
set_ea(VECTOR_SWI);
+ m_cc |= CC_E;
set_regop16(m_s);
m_temp.w = entire_state_registers();
%PUSH_REGISTERS;