fixed a bug in mul.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@497
This commit is contained in:
parent
7dba8a97b8
commit
ef0654b332
1 changed files with 1 additions and 1 deletions
|
@ -438,7 +438,7 @@ switch(Fetchb()) {
|
|||
flags.type=t_MUL;
|
||||
if (rm >= 0xc0 ) {GetEArd;temp.u=(Bit64s)reg_eax * (Bit64u)(*eard);}
|
||||
else {GetEAa;temp.u=(Bit64u)reg_eax * (Bit64u)LoadMd(eaa);}
|
||||
reg_eax=(Bit32u)(temp.u & 0xffffffff);reg_eax=(Bit32u)(temp.u >> 32);
|
||||
reg_eax=(Bit32u)(temp.u & 0xffffffff);reg_edx=(Bit32u)(temp.u >> 32);
|
||||
flags.cf=flags.of=(reg_edx !=0);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue