After installing any version of Xcode targeting Intel-based Macs, you should be able to write assembly code. Xcode is a suite of tools, only one of which is the IDE, so you don't have to use it if you don't want to. (That said, if there are specific things you find clunky, please file a bug at Apple's bug reporter - every bug goes to engineering.) Furthermore, installing Xcode will install both the Netwide Assembler (NASM) and the GNU Assembler (GAS); that will let you use whatever assembly syntax you're most comfortable with.
You'll also want to take a look at the Compiler & Debugging Guides, because those document the calling conventions used for the various architectures that Mac OS X runs on, as well as how the binary format and the loader work. The IA-32 (x86-32) calling conventions in particular may be slightly different from what you're used to.
ध्यान में रखना एक और बात यह है कि मैक ओएस एक्स पर सिस्टम कॉल इंटरफेस जो आप डॉस / विंडोज, लिनक्स, या अन्य बीएसडी स्वादों पर इस्तेमाल किया जा सकता है उससे अलग है। सिस्टम कॉल को मैक ओएस एक्स पर एक स्थिर एपीआई नहीं माना जाता है; इसके बजाय, आप हमेशा libSystem के माध्यम से जाते हैं। यह सुनिश्चित करेगा कि आप कोड लिख रहे हैं जो ओएस की एक रिलीज से अगली तक पोर्टेबल है।
अंत में, ध्यान रखें कि मैक ओएस एक्स हार्डवेयर की एक विस्तृत विस्तृत श्रृंखला में चलता है - 32-बिट कोर सिंगल से सबकुछ हाई-एंड क्वाड-कोर ज़ीऑन के माध्यम से होता है। असेंबली में कोडिंग करके आप जितना सोचते हैं उतना अनुकूलन नहीं कर सकते हैं; एक मशीन पर इष्टतम क्या है दूसरे पर निराशाजनक हो सकता है। ऐप्पल नियमित रूप से अपने कंपाइलर्स को मापता है और अपने आउटपुट को "-ओएस" ऑप्टिमाइज़ेशन फ्लैग के साथ अपनी लाइन में सभ्य होने के लिए धुन देता है, और व्यापक वेक्टर / मैट्रिक्स-प्रोसेसिंग लाइब्रेरीज़ हैं जिनका उपयोग आप हाथ से ट्यून किए गए सीपीयू-विशिष्ट कार्यान्वयन के साथ उच्च प्रदर्शन प्राप्त करने के लिए कर सकते हैं। ।
मज़ा के लिए असेंबली जा रहे हैं महान है। गति के लिए असेंबली में जाना इन दिनों दिल की बेहोशी के लिए नहीं है।