If you use GCC for a compiler, you can use --save-temps
which prevents the intermediate files (including the assembly output) from being deleted after it’s done.
See http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html
solved assembler code of a fragment of C++ code [closed]