Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize


Reads the program status and control (EFLAGS) register.

unsigned     int __readeflags(void);
unsigned __int64 __readeflags(void);

The value of the EFLAGS register. The return value is 32 bits long on a 32-bit platform and 64 bits long on a 64-bit platform.

These routines are available only as intrinsics.




x86, x64

Header file <intrin.h>

Community Additions

© 2015 Microsoft