| 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 |
| r24850 | r24851 | |
|---|---|---|
| 1064 | 1064 | @m_temp.b.h = read_operand(0); |
| 1065 | 1065 | @m_temp.b.l = read_operand(1); |
| 1066 | 1066 | 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 | } | |
| 1074 | 1067 | return; |
| 1075 | 1068 | |
| 1076 | 1069 | DIVQ: |
| Previous | 199869 Revisions | Next |