Previous 199869 Revisions Next

r24851 Monday 12th August, 2013 at 02:22:43 UTC by Nathan Woods
HD6309:  Fixing MULD regression introduced in the 6x09 rewrite (mametesters bug #05259)
[src/emu/cpu/m6809]hd6309.ops

trunk/src/emu/cpu/m6809/hd6309.ops
r24850r24851
10641064   @m_temp.b.h = read_operand(0);
10651065   @m_temp.b.l = read_operand(1);
10661066   muld();
1067   {
1068      PAIR result;
1069      result.d = ((INT16) m_d.w) * ((INT16) m_temp.w);
1070      m_d.w = set_flags<UINT16>(CC_NZ, result.w.h);
1071      m_w.w = result.w.l;
1072      m_cc &= ~CC_VC;
1073   }
10741067   return;
10751068
10761069DIVQ:

Previous 199869 Revisions Next


© 1997-2024 The MAME Team