skidup skidup - 10 days ago 5
C Question

How can I get Dev-C++ to generate intel assembly from c code?

I understand that compilers convert c source code to assembly and then to machine code. I searched through every compiler setting I could find, and their website but I can't get it to generate assembly. Also, the website states that Dev-C++ uses AT&T assembly, can I also convert from that to Intel?

Answer

Dev-C++ seems to use GCC.

You can try this option: gcc -S -masm=intel as answered in this question: How do you use gcc to generate assembly code in Intel syntax?

I do not know how to set command line options on Dev-C++ but guides can be easily found.