Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

generate Intel assembly

elie27
Beginner
105 Views
I recently bought the Intel compiler toolkit, and not upon trying it I am having difficulty generating assembly using intel syntax. It is giving my AT&T syntax in the assembly. Is there any way to generate intel assembly?
Thanks
0 Kudos
3 Replies
TimP
Black Belt
105 Views
The Windows versions of the tools default to intel asm syntax, as do some of the linux profilers. Some of the linux tools should recognize -masm=intel switch to over-ride the overwhelmingly preferred att default.
elie27
Beginner
105 Views
I am using it on linux and when I put -masm=intel it gives me unrecognized -m. Is there anything wrong in the installation?
PS. I also tried -use-masm=intel ; -msasm=intel ; -use-msasm=intel; some of them it was weird they didn't give errors and they showed up on top of the assembly file, but the syntax was still AT&T.
Thanks for your reply
Mark_S_Intel1
Employee
105 Views
Reply