mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +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
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue