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

Document Information

Preface

1.  SPARC Assembler Syntax

1.1 Syntax Notation

1.2 Assembler File Syntax

1.2.1 Lines Syntax

1.2.2 Statement Syntax

1.3 Lexical Features

1.3.1 Case Distinction

1.3.2 Comments

1.3.3 Labels

1.3.4 Numbers

1.3.5 Strings

1.3.6 Symbol Names

1.3.7 Special Symbols - Registers

1.3.8 Attributes

1.3.9 Operators and Expressions

1.3.10 SPARC V9 Operators and Expressions

1.4 Assembler Error Messages

2.  Executable and Linking Format

3.  Directives and Pseudo-Operations

4.  Creating Data in Assembler

5.  SPARC Code Models

6.  Writing Functions -- The SPARC ABI

7.  Assembler Inline Functions and __asm Code

A.  Using the Assembler Command Line

B.  A Sample Assembler Program

C.  SPARC Instruction Sets and Mnemonics

Index

Chapter 1

SPARC Assembler Syntax

The Oracle Solaris SPARC assembler takes assembly language programs, as specified in this document, and produces relocatable object files for processing by the Solaris link editor. The assembly language described in this document corresponds to the SPARC instruction set defined in the Oracle SPARC Architecture 2011 Guide (OSA) and is intended for use on Oracle Solaris SPARC platforms.

This chapter is organized into the following sections: