Don't set ZF on MUL/MULU operations on NEC V20/V30 (#2)
This commit is contained in:
@@ -1451,9 +1451,7 @@ set_co_mul(int bits, int carry)
|
|||||||
{
|
{
|
||||||
set_cf(carry);
|
set_cf(carry);
|
||||||
set_of(carry);
|
set_of(carry);
|
||||||
/* NOTE: When implementing the V20, care should be taken to not change
|
if (!is_nec) set_zf_ex(!carry);
|
||||||
the zero flag. */
|
|
||||||
set_zf_ex(!carry);
|
|
||||||
if (!carry)
|
if (!carry)
|
||||||
wait(1, 0);
|
wait(1, 0);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user