Author: aandrejevic
Date: Sun Apr 19 22:34:12 2015
New Revision: 67315

URL: http://svn.reactos.org/svn/reactos?rev=67315&view=rev
Log:
[FAST486]
Clear the CF and OF flags in AND, OR and XOR.


Modified:
    trunk/reactos/lib/fast486/opgroups.c

Modified: trunk/reactos/lib/fast486/opgroups.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/opgroups.c?rev=67315&r1=67314&r2=67315&view=diff
==============================================================================
--- trunk/reactos/lib/fast486/opgroups.c        [iso-8859-1] (original)
+++ trunk/reactos/lib/fast486/opgroups.c        [iso-8859-1] Sun Apr 19 
22:34:12 2015
@@ -70,6 +70,7 @@
         case 1:
         {
             Result = FirstValue | SecondValue;
+            State->Flags.Cf = State->Flags.Of = FALSE;
             break;
         }
 
@@ -112,6 +113,7 @@
         case 4:
         {
             Result = FirstValue & SecondValue;
+            State->Flags.Cf = State->Flags.Of = FALSE;
             break;
         }
 
@@ -134,6 +136,7 @@
         case 6:
         {
             Result = FirstValue ^ SecondValue;
+            State->Flags.Cf = State->Flags.Of = FALSE;
             break;
         }
 


Reply via email to