OSDev.org
https://forum.osdev.org/

Intel Assembler Synax in Xcode
https://forum.osdev.org/viewtopic.php?f=13&t=15472
Page 1 of 1

Author:  nehemiascr [ Wed Nov 21, 2007 7:39 pm ]
Post subject:  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.

Author:  JackScott [ Wed Nov 21, 2007 7:45 pm ]
Post subject: 

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

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/