From: Aleksandar Andrejevic Date: Sun, 19 Apr 2015 22:34:12 +0000 (+0000) Subject: [FAST486] X-Git-Tag: backups/colins-printing-for-freedom@73041~301 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=8083610a98c005a40b0c89da595176f230fb9d6a [FAST486] Clear the CF and OF flags in AND, OR and XOR. svn path=/trunk/; revision=67315 --- diff --git a/reactos/lib/fast486/opgroups.c b/reactos/lib/fast486/opgroups.c index d4217eeffa5..60e778dc463 100644 --- a/reactos/lib/fast486/opgroups.c +++ b/reactos/lib/fast486/opgroups.c @@ -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; }