Using GCC to produce readable assembly?

I was wondering how to use GCC on my C source file to dump a mnemonic version of the machine code so I could see what my code was being compiled into. You can do this with Java but I haven’t been able to find a way with GCC.

I am trying to re-write a C method in assembly and seeing how GCC does it would be a big help.

10 Answers
10

Leave a Comment