Visual Studio 2013 - Enabling Inline Assembly with x64

Channel:
Subscribers:
310
Published on ● Video Link: https://www.youtube.com/watch?v=w7zomdu1cTE



Duration: 10:01
1,855 views
2


This demonstration shows how easy it is to enable C++ Inline Assembly with an x64 build configuration.

Demonstration Using Software:

Visual Studio 2013

Intel® Parallel Studio XE 2016 - Professional Edition for C++
(Intel C++ Compiler)

Free Trial Available here
https://software.intel.com/en-us/inte...

Context:

Loaded x86 plugin project and tried compiling in x64 and ran into the problem with _asm inline assembly not being supported by Microsofts C++ Compiler.

The plugin project is being updated for a x64 version of a game and requires many naked inline assembly "_asm" trampolines/hooks. They still have to be rewritten to work in x64, but by putting "push rax" and compiling successfully is enough to prove that it will work.

WARNING most of the video is confusion trying to get a successful build.

Important bits:
0:26 Switching to Intel C++ Compiler
9:45 Successful build with "push rax" present