Log in

View Full Version : VC++ asm intrinsics


OpenRCE_omega_red
March 10th, 2009, 09:18
Microsoft's Visual C++ supports less and less asm inline in later versions, or not at all on x64 platform. However, it provides a hefty number of intrinsics that are basically equivalents of single instructions.

http://msdn.microsoft.com/en-us/library/x8zs5twb.aspx

Handy reference if you like writing low-level but somewhat portable code.

There are also architecture-specific intrinsics:
x86 ("http://msdn.microsoft.com/en-us/library/hd9bdb82.aspx")
x64 ("http://msdn.microsoft.com/en-us/library/azcs88h2.aspx")

https://www.openrce.org/blog/view/1413/VC++_asm_intrinsics