Possible Duplicate:
How to generate assembly code from C++ source in Visual Studio 2010
Hello. How can I compile C++ code to asm in Visual Studio?
In gcc I just add one parampeter: -s
Possible Duplicate:
How to generate assembly code from C++ source in Visual Studio 2010
Hello. How can I compile C++ code to asm in Visual Studio?
In gcc I just add one parampeter: -s
Looks like /FAs
is the command-line argument. There is also a setting in the GUI: http://codegem.org/2008/10/generate-assembly-from-c-code-in-visual-studio
find project in solution explorer
right click properties
c/c++
output files
assembler output
If you want to generate it from the IDE, goto project properties > C/C++ > Output files. In that you have an option called "Assembler Output". By default its set to "No Listing". Pull down the menu and select the option that suits you.