From 03ed25518aaec6b887772023928a02c2c9c208bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Wed, 30 Nov 2005 17:28:42 +0000 Subject: [PATCH] Alex Buell : - math_asm.S: undefined references to 'not' when linking ntdll.dll svn path=/trunk/; revision=19781 --- reactos/lib/rtl/i386/math_asm.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/lib/rtl/i386/math_asm.S b/reactos/lib/rtl/i386/math_asm.S index ebc8e679592..ddc6408f1b4 100644 --- a/reactos/lib/rtl/i386/math_asm.S +++ b/reactos/lib/rtl/i386/math_asm.S @@ -1436,7 +1436,7 @@ _pow: mov al,ah // Move condition flags to AL lahf // Load Flags into AH and al, 0b01000101 // Isolate C0, C2 and C3 - and ah,not 0b01000101 // Turn off CF, PF and ZF + and ah, 0b10111010 // Turn off CF, PF and ZF or ah,al // Set new CF, PF and ZF sahf // Store AH into Flags jb __fpow1 // Re-direct if x < 0 @@ -1448,7 +1448,7 @@ _pow: mov al,ah // Move condition flags to AL lahf // Load Flags into AH and al, 0b01000101 // Isolate C0, C2 and C3 - and ah,not 0b01000101 // Turn off CF, PF and ZF + and ah, 0b10111010 // Turn off CF, PF and ZF or ah,al // Set new CF, PF and ZF sahf // Store AH into Flags ja __fpow3 // Re-direct if y > 0 @@ -1464,7 +1464,7 @@ __fpow1: fxch // Put y on top of stack mov al,ah // Move condition flags to AL lahf // Load Flags into AH and al, 0b01000101 // Isolate C0, C2 and C3 - and ah,not 0b01000101 // Turn off CF, PF and ZF + and ah, 0b10111010 // Turn off CF, PF and ZF or ah,al // Set new CF, PF and ZF sahf // Store AH into Flags je __fpow2 // Proceed if y = int(y)