In-line Assembly Code

The Microsoft X64 compiler does not support inline assembly code. If your 32-bit application uses such code, you can address this problem in either of two ways. First, you can try to find equivalent C++ code that can be #ifdef'd with the assembly code it parallels. If this is not possible, the second option is to move the assembly language to a separate .asm (ASM) file and assemble it with the 64-bit assembler. Visual Studio provides the following assemblers under the \Microsoft Visual Studio <release>\VC\bin directory:

Note: The C++ equivalent of assembly code may not execute identically and may impact performance. Rewriting assembly code in C++ should be given proper consideration.