Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


This topic is new for Visual Studio 2005 SP1.

Writes the specified value to the program status and control (EFLAGS) register.

void __writeeflags(unsigned Value);
void __writeeflags(unsigned __int64 Value);


Parameter Description

[in] Value

The value to write to the EFLAGS register. The Value parameter is 32 bits long for a 32-bit platform and 64 bits long for a 64-bit platform.

These routines are available only as intrinsics.

Intrinsic Architecture


x86, x64

Header file <intrin.h>

END Microsoft Specific

© 2015 Microsoft