mmozeiko
Visual Studio allows to do inline assembly only for 32-bit code. Here are examples how to use it: http://msdn.microsoft.com/en-us/library/45yd4tzz.aspx
mmozeiko
For 64-bit code you'll need to put assembly codein separate .asm files. You can use either MASM compiler (ml.exe/ml64.exe, shipped with Visual Studio). Or use different ones (like yasm, nasm) that will allow to compile same assembly file on different OS'es (Linux, OSX).