OSDev.org

The Place to Start for Operating System Developers
It is currently Sat May 04, 2024 9:04 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Intel Assembler Synax in Xcode
PostPosted: Wed Nov 21, 2007 7:39 pm 
Offline

Joined: Wed Nov 21, 2007 7:33 pm
Posts: 1
Location: Costa Rica
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 21, 2007 7:45 pm 
Offline
Member
Member
User avatar

Joined: Thu Dec 21, 2006 3:03 am
Posts: 1029
Location: Hobart, Australia
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

_________________
My Personal Blog | My Software Company - Loop Foundry | My Github Page


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group