mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 12:45:16 +00:00
[FAST486]
Clear the CF and OF flags in AND, OR and XOR. svn path=/trunk/; revision=67315
This commit is contained in:
parent
a7e56b4256
commit
8083610a98
|
@ -70,6 +70,7 @@ Fast486ArithmeticOperation(PFAST486_STATE State,
|
||||||
case 1:
|
case 1:
|
||||||
{
|
{
|
||||||
Result = FirstValue | SecondValue;
|
Result = FirstValue | SecondValue;
|
||||||
|
State->Flags.Cf = State->Flags.Of = FALSE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -112,6 +113,7 @@ Fast486ArithmeticOperation(PFAST486_STATE State,
|
||||||
case 4:
|
case 4:
|
||||||
{
|
{
|
||||||
Result = FirstValue & SecondValue;
|
Result = FirstValue & SecondValue;
|
||||||
|
State->Flags.Cf = State->Flags.Of = FALSE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -134,6 +136,7 @@ Fast486ArithmeticOperation(PFAST486_STATE State,
|
||||||
case 6:
|
case 6:
|
||||||
{
|
{
|
||||||
Result = FirstValue ^ SecondValue;
|
Result = FirstValue ^ SecondValue;
|
||||||
|
State->Flags.Cf = State->Flags.Of = FALSE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue