Intel Assembler Synax in Xcode
-
- Posts: 1
- Joined: Wed Nov 21, 2007 7:33 pm
- Location: Costa Rica
Intel Assembler Synax in Xcode
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.
- JackScott
- Member
- Posts: 1032
- Joined: Thu Dec 21, 2006 3:03 am
- Location: Hobart, Australia
- Mastodon: https://aus.social/@jackscottau
- GitHub: https://github.com/JackScottAU
- Contact:
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
Try .intel_syntax at the top of your source files.
http://www.osdev.org/wiki/Gas_Intel_Howto