About This Guide

This publication describes the assembly language supported by the IRIX operating system, its syntax rules, and how to write assembly programs. For information about assembling and linking an assembly language program, see the MIPSpro Compiling and Performance Tuning Guide.

This book assumes that you are an experienced assembly language programmer. The assembler produces object modules from the assembly instructions that the C and Fortran compilers generate. It therefore lacks many of the functions normally present in an assembler. You should use the assembler only when you must:

The assembler converts assembly language statements into machine code. In most assembly languages, each instruction corresponds to a single machine instruction; however, some assembly language instructions can generate several machine instructions. This feature results in assembly programs that can run without modification on future machines, which might have different machine instructions.

In this release, the assembler supports compilations in -o32, -n32, and -64 mode. Some of the implications of these different data sizes are explained in this book. For more information, see the MIPSpro 64-Bit Porting and Transition Guide.

Many assembly language instructions have direct equivalents to machine instructions. For more information about the operations of a specific architecture, see the book that is appropriate for your hardware type.

Related Publications

The following documents contain additional information that may be helpful:

  • MIPSpro 64-Bit Porting and Transition Guide

  • MIPSpro Compiling and Performance Tuning Guide

  • MIPSpro N32 ABI Handbook

Obtaining Publications

Silicon Graphics maintains information about available publications at the following URL:

http://techpubs.sgi.com/library  

This Web site contains information that allows you to browse documents online, order documents, and send feedback to Silicon Graphics. You can also order a printed Silicon Graphics document by calling 1 800 627 9307. Silicon Graphics employees may send electronic mail to orderdsk@cray.com.

Customers outside of the United States and Canada should contact their local service organization for ordering and documentation information.

Conventions

The following conventions are used throughout this document:

Convention 

Meaning

command 

This fixed-space font denotes literal items such as commands, files, routines, path names, signals, messages, and programming language structures.

variable 

Italic typeface denotes variable entries and words or concepts being defined.

user input 

This bold, fixed-space font denotes literal items that the user enters in interactive sessions. Output is shown in nonbold, fixed-space font.

[ ] 

Brackets enclose optional portions of a command or directive line.

... 

Ellipses indicate that a preceding element can be repeated.

Reader Comments

If you have comments about the technical accuracy, content, or organization of this document, please tell us. Be sure to include the title and part number of the document with your comments.

You can contact us in any of the following ways:

  • Send electronic mail to the following address:

    techpubs@sgi.com

  • Send a facsimile to the attention of "Technical Publications" at fax number +1 650 932 0801.

  • Use the Suggestion Box form on the Technical Publications Library World Wide Web page:

    http://techpubs.sgi.com/library/

  • Call the Technical Publications Group, through the Technical Assistance Center, using one of the following numbers:

    For Silicon Graphics IRIX based operating systems: 1 800 800 4SGI

    For UNICOS or UNICOS/mk based operating systems or CRAY Origin2000 systems: 1 800 950 2729 (toll free from the United States and Canada) or +1 651 683 5600

  • Send mail to the following address:

    Technical Publications
    Silicon Graphics, Inc.
    1600 Amphitheatre Parkway
    Mountain View, California 94043-1351

We value your comments and will respond to them promptly.