Intel Assembler Synax in Xcode

Programming, for all ages and all languages.
Post Reply
nehemiascr
Posts: 1
Joined: Wed Nov 21, 2007 7:33 pm
Location: Costa Rica

Intel Assembler Synax in Xcode

Post 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.
User avatar
JackScott
Member
Member
Posts: 1031
Joined: Thu Dec 21, 2006 3:03 am
Location: Hobart, Australia
Contact:

Post 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
Post Reply