m6809: Now setting the E condition code when SWI instruction is executed (nw)

This commit is contained in:
Nathan Woods 2013-03-09 17:46:19 +00:00
parent 41cd535195
commit 74408485b7

View File

@ -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;