Previous 199869 Revisions Next

r21714 Friday 8th March, 2013 at 17:55:31 UTC by Nathan Woods
Fixed bug in konami/6309 16-bit NEG; quarth is now playable again (nw)
[src/emu/cpu/m6809]base6x09.ops

trunk/src/emu/cpu/m6809/base6x09.ops
r21713r21714
134134NEG16:
135135   m_temp.b.h = read_operand(0);
136136   m_temp.b.l = read_operand(1);
137   m_temp.b.l = set_flags(CC_NZVC, (UINT16)0, m_temp.w, -m_temp.w);
137   m_temp.w = set_flags(CC_NZVC, (UINT16)0, m_temp.w, -m_temp.w);
138138   eat(hd6309_native_mode() ? 0 : 1);
139139   write_operand(0, m_temp.b.h);
140140   write_operand(1, m_temp.b.l);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team