Visual Studio: Difference between revisions

m
Bot: Replace deprecated source tag with syntaxhighlight
[unchecked revision][unchecked revision]
m (Bot: Replace deprecated source tag with syntaxhighlight)
m (Bot: Replace deprecated source tag with syntaxhighlight)
Line 349:
== Intrinsics ==
For intrinsics, #include <intrin.h>. This IS suitable for a kernel, but don't ignore standard headers. An example follows:
<sourcesyntaxhighlight lang="cpp">
//main body of intrinsics
#include <intrin.h>
Line 364:
__halt(); //HLT
}
</syntaxhighlight>
</source>
 
From more intrinsics, see [http://msdn.microsoft.com/en-us/library/26td21ds.aspx Compiler Intrinsics]