Page 1 of 1

Intel Assembler Synax in Xcode

Posted: Wed Nov 21, 2007 7:39 pm
by nehemiascr
Hi, I would like to know how can I switch Xcode 3 (Xcode 3 is the Apple programing tool for mac os, it uses GCC)to understand Intel Assembler syntax instead of AT&T's, so I can assemble such written pieces of software. thanks a lot.

Posted: Wed Nov 21, 2007 7:45 pm
by JackScott
XCode uses the GAS assembler. That means, fortunately, that you can use normal GAS stuff.

Try .intel_syntax at the top of your source files.

http://www.osdev.org/wiki/Gas_Intel_Howto