[FAST486]

Clear the CF and OF flags in AND, OR and XOR.


svn path=/trunk/; revision=67315
This commit is contained in:
Aleksandar Andrejevic 2015-04-19 22:34:12 +00:00
parent a7e56b4256
commit 8083610a98

View file

@ -70,6 +70,7 @@ Fast486ArithmeticOperation(PFAST486_STATE State,
case 1:
{
Result = FirstValue | SecondValue;
State->Flags.Cf = State->Flags.Of = FALSE;
break;
}
@ -112,6 +113,7 @@ Fast486ArithmeticOperation(PFAST486_STATE State,
case 4:
{
Result = FirstValue & SecondValue;
State->Flags.Cf = State->Flags.Of = FALSE;
break;
}
@ -134,6 +136,7 @@ Fast486ArithmeticOperation(PFAST486_STATE State,
case 6:
{
Result = FirstValue ^ SecondValue;
State->Flags.Cf = State->Flags.Of = FALSE;
break;
}