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

Document Information

Preface

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.2 Comments

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

Index

2.2 Assembler File Syntax

The syntax of assembly language files is:

[line]*

2.2.1 Lines Syntax

The syntax of assembly language lines is:

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

2.2.2 Statement Syntax

The syntax of an assembly language statement is:

[label:] [instruction] 

where:

label

is a symbol name.

instruction

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