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

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

C.1 Natural Instructions

C.1.1 Natural Register, Natural Word

Index

C.1 Natural Instructions

Some of the synthetic SPARC instructions were extended to include the natural operations, which are interpreted differently for -m32 or -m64 assembly.

Table C-1 Natural Instructions

Natural Instruction
—m32 Interpretation
—m64 Interpretation
ldn
ld
ldx
stn
st
stx
ldna
lda
ldax
stna
sta
stxa
casn
cas
casx
slln
sll
sllx
srln
srl
srlx
sran
sra
srax
clrn
clr
clrx
setn
set
setx
setnhi
sethi
setxhi

C.1.1 Natural Register, Natural Word

In addition to natural instructions, there is also the natural register %ncc and the natural word pseudo-op .nword, which are interpreted differently depending on the assembly mode.

Table C-2 Natural Register and Word

Register and Word
—m32 Interpretation
—m64 Interpretation
%ncc register
%icc
%xcc
.nword pseudo-op
.word
.xword