Next Page > Hide TOC

Introduction

Contents:

Organization of This Document


The Mac OS X assembler serves a dual purpose. It assembles the output of gcc, Xcode’s default compiler, for use by the Mac OS X linker. It also provides the means to assemble custom assembly language code written for its supported platforms.

This document provides a reference for the use of the assembler, including basic syntax and statement layout. It also contains a list of the specific directives recognized by the assembler and complete instruction sets for the PowerPC and i386 processor architectures.

Important: The “i386 Addressing Modes and Assembler Instructions” section is considered preliminary. It has not been updated with the latest revisions to the i386 addressing modes and instructions. While most of the information is technically accurate, the document is incomplete and is subject to change. For more information, please see the section itself.

Organization of This Document

This document contains the following chapters:

This document also contains a revision history, and an index.



Next Page > Hide TOC


© 2003, 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-01-07)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.