The AAM instruction on NEC V20/V30 does in fact support bases other than 10, fixes #2939.
This commit is contained in:
@@ -3463,11 +3463,15 @@ execx86(int cycs)
|
|||||||
|
|
||||||
case 0xD4: /*AAM*/
|
case 0xD4: /*AAM*/
|
||||||
wait(1, 0);
|
wait(1, 0);
|
||||||
|
#ifdef NO_VARIANT_ON_NEC
|
||||||
if (is_nec) {
|
if (is_nec) {
|
||||||
(void) pfq_fetchb();
|
(void) pfq_fetchb();
|
||||||
cpu_src = 10;
|
cpu_src = 10;
|
||||||
} else
|
} else
|
||||||
cpu_src = pfq_fetchb();
|
cpu_src = pfq_fetchb();
|
||||||
|
#else
|
||||||
|
cpu_src = pfq_fetchb();
|
||||||
|
#endif
|
||||||
if (x86_div(AL, 0))
|
if (x86_div(AL, 0))
|
||||||
set_pzs(16);
|
set_pzs(16);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user