branch update for HEAD-2003021201
[reactos.git] / lib / msvcrt / float / statfp.c
1 #include <msvcrt/float.h>
2
3 unsigned int    _statusfp (void)
4 {       
5
6 register unsigned short __res;
7 #ifdef __GNUC__
8 __asm__ __volatile__ (
9         "fstsw  %0 \n\t"
10 //      "movzwl %ax, %eax"
11         :"=a" (__res)
12         );
13 #else
14 #endif /*__GNUC__*/
15         return __res;
16 }