Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Microsoft Specific

This topic is new for Visual Studio 2005 SP1.

Generates platform-specific machine code that performs no operation.

void __nop();




x86, x64

Header file <intrin.h>

The __nop function is equivalent to the NOP machine instruction. For more information, search for the document, "Intel Architecture Software Developer's Manual, Volume 2: Instruction Set Reference," at the Intel Corporation site.

Community Additions

© 2015 Microsoft