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

1.2 Assembler File Syntax

The syntax of assembly language files is:

[line]*

1.2.1 Lines Syntax

The syntax of assembly language lines is:

[statement [ ; statement]*] [!comment] 

1.2.2 Statement Syntax

The syntax of an assembly language statement is:

[label:] [instruction] 

where:

label

Description: is a symbol name.

instruction

Description: is an encoded pseudo-op, synthetic instruction, or instruction.