03-11-2011 06:26 AM
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?
03-11-2011 08:36 AM
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.
03-11-2011 03:24 PM
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