See the assembly code generated for your source.

24 03 2008

Icon Description
For die-hard debugging purpouse and for learning the internals, usually we need to refer the assembly code generated by the compiler.

Icon How Can I Do It?
Add compiler switch /FAs in the project settings. It will generate .ASM files for each of your .cpp files with source code and inline assembly. See the following steps.

1) Take project setting by pressing Alt+F7
2) Take C/C++ tab
3) To the Project Options editbox, add /FAs.
4) Recompile the project.
5) Take the release or debug directory, you can see .asm files. 😉

Advertisements