Go to main content

SPARC Assembly Language Reference Manual

Exit Print View

Updated: November 2020
 
 

Index

Numbers and Symbols

.exported pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.register pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
32-bit
address space sizesindex iconSPARC Code Models
code limitationsindex iconLimitations for 32-Bit Code
code modelindex iconSPARC Code Models
expression optionsindex iconAssembler Command Line Options
parameter passing in Cindex iconParameter Passing
SPARC V9 expressionsindex iconSPARC V9 32-Bit Operators and Expressions
SPARC V9 operatorsindex iconSPARC V9 32-Bit Operators and Expressions
44-bit expressions and operators
SPARC V9index iconSPARC V9 Low 44-Bit Operators and Expressions
64-bit
address space sizesindex iconSPARC Code Models
code limitationsindex iconLimitations for Both 32-Bit and 64-Bit Code
code modelindex iconSPARC Code Models
expression optionsindex iconAssembler Command Line Options
parameter passing in Cindex iconParameter Passing
SPARC V9 expressionsindex iconSPARC V9 64-bit Operators and Expressions
SPARC V9 operatorsindex iconSPARC V9 64-bit Operators and Expressions
__asm statements
assemblerindex iconSPARC Assembler Inline Functions and __asm Code
C and C++index iconUsing __asm Statements in C and C++

A

.alias pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.align pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.ascii pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.asciz pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
address space sizesindex iconSPARC Code Models
addressesindex iconAddresses in Memory
as commandindex iconAssembler Command Line
assembler
__asm statementsindex iconSPARC Assembler Inline Functions and __asm Code
assignment directivesindex iconAssignment Directive
attributesindex iconAttributes in Assembler
case distinction
index iconSpecial Symbol Names
index iconCase Distinction in Assembler
command lineindex iconAssembler Command Line
command line optionsindex iconAssembler Command Line Options
compiling with C and C++ templatesindex iconCompiling C/C++ with Inline Templates
constantsindex iconNumbers in Assembler
creating data inindex iconCreating Data in Assembler
directivesindex iconSPARC Directives and Pseudo-Operations
disassembling object codeindex iconDisassembling Object Code
error messagesindex iconAssembler Error Messages
expressionsindex iconOperators and Expressions in Assembler
file syntaxindex iconAssembler File Syntax
generating directivesindex iconData Generating Directives
guidelines for coding inline templatesindex iconGuidelines for Coding Inline Templates
inline function templatesindex iconInline Function Templates in C and C++
inline functionsindex iconSPARC Assembler Inline Functions and __asm Code
inline template layoutindex iconLayout of Code in Inline Templates
labelsindex iconLabels in Assembler
lexical featuresindex iconAssembler Lexical Features
lines syntaxindex iconAssembler Lines Syntax
multiple comment linesindex iconComments in Assembler
numbersindex iconNumbers in Assembler
operatorsindex iconOperators and Expressions in Assembler
parameter passingindex iconParameter Passing
pseudo operationsindex iconAlphabetized Listing of Pseudo Operations With Descriptions
pseudo-op attributesindex iconPseudo-Op Attributes
pseudo-op examplesindex iconPseudo-Op Examples
registersindex iconSpecial Symbols – Registers
section control directivesindex iconSection Control Directives
SPARC program exampleindex iconA Sample SPARC Assembler Program
SPARC V9 expressionsindex iconSPARC V9 Operators and Expressions
SPARC V9 operatorsindex iconSPARC V9 Operators and Expressions
special symbolsindex iconSpecial Symbols – Registers
stack spaceindex iconStack Space
statement syntaxindex iconAssembler Statement Syntax
string escape codesindex iconStrings in Assembler
stringsindex iconStrings in Assembler
symbol attribute directivesindex iconSymbol Attribute Directives
symbol namesindex iconSymbol Names in Assembler
synopses notationsindex iconNotation Conventions
syntax notationindex iconAssembler Syntax Notation
templates in C and C++index iconInline Function Templates in C and C++
types of directivesindex iconSPARC Directives and Pseudo-Operations
using command lineindex iconUsing the SPARC Assembler Command Line
assembly language  Seeindex iconassembler
assignment directiveindex iconAssignment Directive
atof() function
index iconAlphabetized Listing of Pseudo Operations With Descriptions
index iconAlphabetized Listing of Pseudo Operations With Descriptions
index iconNumbers in Assembler
attributesindex iconAttributes in Assembler

B

.byte pseudo-op
index iconExamples of Defining Data in Sections
index iconAlphabetized Listing of Pseudo Operations With Descriptions
binary operationsindex iconSpecial Symbol Names

C

.common pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
C code
32-bit absolute exampleindex icon32-Bit Absolute
44-bit absolute exampleindex icon44-Bit Absolute
64-bit absolute exampleindex icon64-Bit Absolute
64-bit with 13-bitindex icon64-Bit With 13-Bit PIC
64-bit with 32-bit PICindex icon64-Bit With 32-Bit PIC
__asm statementsindex iconUsing __asm Statements in C and C++
address sizesindex iconAddress Sizes
basics of compilingindex iconBasics of Compiling C Programs
compiling with templatesindex iconCompiling C/C++ with Inline Templates
global object tableindex iconGlobal Object Table (GOT) Code Models
limitations for 32-bitindex iconLimitations for 32-Bit Code
limitations for 32-bit and 64-bitindex iconLimitations for Both 32-Bit and 64-Bit Code
parameter passing
index iconParameter Passing
index iconParameter Passing
register usageindex iconRegister Usage
return valuesindex iconFunctions Returning Values
simple function exampleindex iconAnatomy of a C Function
SPARC assembler program exampleindex iconA Sample SPARC Assembler Program
templatesindex iconInline Function Templates in C and C++
C++ code
__asm statementsindex iconUsing __asm Statements in C and C++
compiling with templatesindex iconCompiling C/C++ with Inline Templates
inline templates andindex iconInline Templates in C++
templatesindex iconInline Function Templates in C and C++
case distinction
index iconSpecial Symbol Names
index iconCase Distinction in Assembler
code modelsindex iconSPARC Code Models
general dynamic TLSindex iconGeneral Dynamic TLS Code Model
global object tableindex iconGlobal Object Table (GOT) Code Models
initial executableindex iconInitial Executable Code Model
local dynamic TLSindex iconLocal Dynamic TLS Code Model
local executableindex iconLocal Executable Code Model
thread local storageindex iconThread Local Storage (TLS) Code Models
command line
assembler andindex iconUsing the SPARC Assembler Command Line
disassembling object codeindex iconDisassembling Object Code
command line optionsindex iconAssembler Command Line Options
comment linesindex iconComments in Assembler
compiler
calling conventions per architectureindex iconCompiler Calling Convention
compiler driversindex iconAssembler Command Line
constantsindex iconNumbers in Assembler
Control Transfer Instructions (CTI)index iconAssembler Error Messages
current locationindex iconLocations Within a Section
current sectionindex iconSections of an ELF File

D

.double pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
–D optionindex iconAssembler Command Line Options
data
creating in assemblerindex iconCreating Data in Assembler
examplesindex iconExamples of Various Data Types
various typesindex iconExamples of Various Data Types
writing declarationsindex iconExamples of Various Data Types
data generating directivesindex iconData Generating Directives
decimal constantsindex iconNumbers in Assembler
default output fileindex iconSPARC Executable and Linking Format
dis programindex iconDisassembling Object Code
disassembling object codeindex iconDisassembling Object Code

E

.empty pseudo-op
index iconAlphabetized Listing of Pseudo Operations With Descriptions
index iconAssembler Error Messages
ELF
.fini sectionindex iconCreating a .fini Section in an Object File
.init sectionindex iconCreating an .init Section in an Object File
addresses in memoryindex iconAddresses in Memory
filesindex iconSPARC Executable and Linking Format
locationsindex iconLocations Within a Section
predefined non-user sectionsindex iconPredefined Non-User Sections
relocation tablesindex iconRelocation Tables
section headersindex iconSection Header
string tablesindex iconString Tables
symbol tablesindex iconSymbol Tables
tools to use withindex iconELF Tools
user sectionsindex iconPredefined User Sections
error messagesindex iconAssembler Error Messages
escape codes in stringsindex iconStrings in Assembler
examples
32-bit absoluteindex icon32-Bit Absolute
44-bit absoluteindex icon44-Bit Absolute
64-bit absoluteindex icon64-Bit Absolute
64-bit with 13-bit PICindex icon64-Bit With 13-Bit PIC
64-bit with 32-bit PICindex icon64-Bit With 32-Bit PIC
basics of compiling C codeindex iconBasics of Compiling C Programs
C function, simpleindex iconAnatomy of a C Function
Fibonacci programindex iconA Sample SPARC Assembler Program
general dynamic TLS codeindex iconGeneral Dynamic TLS Code Model
initial executable TLS codeindex iconInitial Executable Code Model
local dynamic TLS codeindex iconLocal Dynamic TLS Code Model
pseudo operationsindex iconPseudo-Op Examples
SPARC assembler programindex iconA Sample SPARC Assembler Program
Executable and Linking Format  Seeindex iconELF
expressionsindex iconOperators and Expressions in Assembler
44-bit in SPARC V9index iconSPARC V9 Low 44-Bit Operators and Expressions
SPARC V9index iconSPARC V9 Operators and Expressions

F

.file pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
fbe commandindex iconAssembler Command Line
Fibonacci numbers
SPARC C assembler exampleindex iconA Sample SPARC Assembler Program
file syntaxindex iconAssembler File Syntax
floating-point constantsindex iconNumbers in Assembler
floating-point pseudo-operationsindex iconNumbers in Assembler

G

.global pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.globl pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.group pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions

H

.halfindex iconExamples of Defining Data in Sections
.half pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.hidden pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
hexadecimal constantsindex iconNumbers in Assembler
–hwcap optionindex iconAssembler Command Line Options
hyphen (-)index iconAssembler Command Line

I

.ident pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.internal pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
–I optionindex iconAssembler Command Line Options
–i optionindex iconAssembler Command Line Options
inline function templates
branches and callsindex iconBranches and Calls
C++index iconInline Templates in C++
guidlinesindex iconGuidelines for Coding Inline Templates
layoutindex iconLayout of Code in Inline Templates
optimations andindex iconLate and Early Inlining
parameter passingindex iconParameter Passing
inline functions
assemblerindex iconSPARC Assembler Inline Functions and __asm Code
efficiencyindex iconImproving Efficiency of Inlined Functions
instruction sets
natural instructionsindex iconNatural Instructions
natural register and wordindex iconNatural Register, Natural Word for SPARC
SPARC assemblerindex iconSPARC Instruction Sets and Mnemonics
integer suffixesindex iconNumbers in Assembler
invoking as commandindex iconAssembler Command Line

L

.local pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
–L optionindex iconAssembler Command Line Options
labelsindex iconLabels in Assembler
lexical featuresindex iconAssembler Lexical Features
lines syntaxindex iconAssembler Lines Syntax
location counterindex iconLocations Within a Section
locationsindex iconLocations Within a Section
low 44-bit expressions and operators
SPARC V9index iconSPARC V9 Low 44-Bit Operators and Expressions

M

–m64 and -m32 optionsindex iconAssembler Command Line Options
–m optionindex iconAssembler Command Line Options
multiple comment linesindex iconComments in Assembler
multiple files, onindex iconAssembler Command Line
multiple sectionsindex iconSections of an ELF File
multiple strings
in string tableindex iconString Tables

N

.noalias pseudo-op
index iconAlphabetized Listing of Pseudo Operations With Descriptions
index iconAlphabetized Listing of Pseudo Operations With Descriptions
.nonvolatile pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.nword pseudo-op
index iconNatural Register and Word for SPARC
index iconExamples of Defining Data in Sections
index iconAlphabetized Listing of Pseudo Operations With Descriptions
–n optionindex iconAssembler Command Line Options
natural instructions
SPARC instruction setsindex iconNatural Instructions
natural register
SPARC instruction setsindex iconNatural Register, Natural Word for SPARC
natural word
SPARC instruction setsindex iconNatural Register, Natural Word for SPARC
numbersindex iconNumbers in Assembler
numeric labelsindex iconLabels in Assembler

O

–o optionindex iconAssembler Command Line Options
object files
typeindex iconSPARC Executable and Linking Format
objects
sectionsindex iconSections of an ELF File
octal numeric constantsindex iconNumbers in Assembler
operatorsindex iconOperators and Expressions in Assembler
44-bit in SPARC V9index iconSPARC V9 Low 44-Bit Operators and Expressions
SPARC V9index iconSPARC V9 Operators and Expressions
options
assembler command lineindex iconAssembler Command Line Options

P

.poplocals pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.popsection pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.proc pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.protected pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.pushlocals pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.pushsection pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
–P optionindex iconAssembler Command Line Options
percentage sign (%)index iconSpecial Symbols – Registers
predefined non-user sectionsindex iconPredefined Non-User Sections
predefined user sectionsindex iconPredefined User Sections
pseudo operations
alphabetical listindex iconAlphabetized Listing of Pseudo Operations With Descriptions
attributesindex iconPseudo-Op Attributes
examplesindex iconPseudo-Op Examples
section control directivesindex iconSection Control Directives
SPARCindex iconSPARC Directives and Pseudo-Operations

Q

.quad pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
–Q optionindex iconAssembler Command Line Options

R

.reserve pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
registersindex iconSpecial Symbols – Registers
relocatable filesindex iconSPARC Executable and Linking Format
relocation tablesindex iconRelocation Tables

S

.section pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.seg pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.single pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.size pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.skip pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.stabn pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.stabs pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.symbolic pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
–S optionindex iconAssembler Command Line Options
–s optionindex iconAssembler Command Line Options
section control directivesindex iconSection Control Directives
section control pseudo-opsindex iconSection Control Directives
section headersindex iconSection Header
sh_flagsindex iconSection Header
sh_infoindex iconSection Header
sh_linkindex iconSection Header
sh_nameindex iconSection Header
sectionsindex iconSections of an ELF File
sh_flags fieldindex iconSection Header
sh_info fieldindex iconSection Header
sh_link fieldindex iconSection Header
sh_name fieldindex iconSection Header
SPARC
ABIindex iconAdditional Information About SPARC ABI
address space sizesindex iconSPARC Code Models
code modelsindex iconSPARC Code Models
instruction setsindex iconSPARC Instruction Sets and Mnemonics
mnemonicsindex iconSPARC Instruction Sets and Mnemonics
writing functionsindex iconWriting Functions in the SPARC ABI
SPARC V9
64-bit expressionsindex iconSPARC V9 Operators and Expressions
64-bit operatorsindex iconSPARC V9 Operators and Expressions
special floating-point valuesindex iconNumbers in Assembler
special names, floating point valuesindex iconNumbers in Assembler
special symbolsindex iconSpecial Symbols – Registers
st_info variableindex iconSymbol Tables
st_name variableindex iconSymbol Tables
st_other variableindex iconSymbol Tables
st_shndx variableindex iconSymbol Tables
st_size variableindex iconSymbol Tables
st_value variableindex iconSymbol Tables
stack space
storing variablesindex iconStack Space
statement syntaxindex iconAssembler Statement Syntax
string escape codesindex iconStrings in Assembler
string tablesindex iconString Tables
stringsindex iconStrings in Assembler
multiple in string tableindex iconString Tables
multiple references in string tableindex iconString Tables
suggested styleindex iconStrings in Assembler
unreferenced in string tableindex iconString Tables
sub-strings in string table
references toindex iconString Tables
symbol attribute directivesindex iconSymbol Attribute Directives
symbol namesindex iconSymbol Names in Assembler
symbol tableindex iconSymbol Tables
symbol tablesindex iconSymbol Tables
st_infoindex iconSymbol Tables
st_nameindex iconSymbol Tables
st_otherindex iconSymbol Tables
st_shndxindex iconSymbol Tables
st_sizeindex iconSymbol Tables
st_valueindex iconSymbol Tables
symbol pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
syntax notationindex iconAssembler Syntax Notation

T

.tls_common pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.type pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions

U

.uahalf pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.uaword pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
–U optionindex iconAssembler Command Line Options
–ul optionindex iconAssembler Command Line Options
unary operatorsindex iconSpecial Symbol Names
user sectionsindex iconSection Control Directives

V

.version pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.volatile pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
–V optionindex iconAssembler Command Line Options

W

.weak pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.wordindex iconExamples of Defining Data in Sections
.word pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
writing functions in SPARC ABIindex iconWriting Functions in the SPARC ABI

X

.xstabs pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
.xwordindex iconExamples of Defining Data in Sections
.xword pseudo-opindex iconAlphabetized Listing of Pseudo Operations With Descriptions
–xarch optionindex iconAssembler Command Line Options
–xF optionindex iconAssembler Command Line Options

Y

–Y{c|m} optionindex iconAssembler Command Line Options