How do I generate an assembly file from my C++ code?

Hi!
As I am an Electronics Engineer, I have worked on some embedded systems, and feel very comfortable with assembly code when I have to make a certain part of my project more efficient. I understand the way we can use inline assembly code in C++ too. But, to learn the way Microsoft C++ compiles the code, I would like to have a look at the assembly code.

So, is the assembly code generated automatically every time (if it is, I haven't spotted the file), or is there some way I can create the file

PS: I know that while debugging, I can view the assembly, but that's not what I want.

Thank you,

Anup.




Answer this question

How do I generate an assembly file from my C++ code?