JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
SPARC Assembly Language Reference Manual
search filter icon
search icon

Document Information


1.  SPARC Assembler for SunOS 5.x

2.  Assembler Syntax

2.1 Syntax Notation

2.2 Assembler File Syntax

2.2.1 Lines Syntax

2.2.2 Statement Syntax

2.3 Lexical Features

2.3.1 Case Distinction


2.3.3 Labels

2.3.4 Numbers

2.3.5 Strings

2.3.6 Symbol Names

2.3.7 Special Symbols - Registers

2.3.8 Operators and Expressions

2.3.9 SPARC V9 Operators and Expressions

2.4 Assembler Error Messages

3.  Executable and Linking Format

4.  Converting Files to the New Format

5.  Instruction-Set Mapping

A.  Pseudo-Operations

B.  Examples of Pseudo-Operations

C.  Using the Assembler Command Line

D.  An Example Language Program

E.  SPARC-V9 Instruction Set


Chapter 2

Assembler Syntax

The SunOS 5.x SPARC assembler takes assembly language programs, as specified in this document, and produces relocatable object files for processing by the SunOS 5.x SPARC link editor. The assembly language described in this document corresponds to the SPARC instruction set defined in the SPARC Architecture Manual (Version 8 and Version 9) and is intended for use on machines that use the SPARC architecture.

This chapter is organized into the following sections: