oracle home
SPARC Assembly Language Reference Manual
Exit Print View
Search Term
Search Scope:
This Document
Entire Library
» ...
Index S
Updated: July 2014
SPARC Assembly Language Reference Manual
Document Information
Using This Documentation
Product Documentation Library
Access to Oracle Support
Feedback
Chapter 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
Chapter 2 Executable and Linking Format
2.1 Sections
2.1.1 Section Header
2.1.2 Predefined User Sections
2.1.2.1 Creating an .init Section in an Object File
2.1.2.2 Creating a .fini Section in an Object File
2.1.3 Predefined Non-User Sections
2.1.4 Symbol Tables
2.1.5 String Tables
2.2 Locations
2.3 Addresses
2.3.1 Relocation Tables
2.4 Tools
Chapter 3 Directives and Pseudo-Operations
3.1 Assembler Directives
3.1.1 Section Control Directives
3.1.2 Symbol Attribute Directives
3.1.3 Assignment Directive
3.1.4 Data Generating Directives
3.2 Notation
3.3 Alphabetized Listing with Descriptions
3.4 Pseudo-Op Attributes
3.5 Pseudo-Op Examples
3.5.1 Example 1: Binding to C Variables
3.5.2 Example 2: Generating Ident Strings
3.5.3 Example 3: Data Alignment, Size, Scope, and Type
3.5.4 Example 4: ???Hello World???
Chapter 4 Creating Data in Assembler
4.1 Examples
Chapter 5 SPARC Code Models
5.1 Basics
5.2 Address Sizes
5.2.1 32???Bit Absolute
5.2.2 64???Bit Absolute
5.2.3 44???Bit Absolute
5.2.4 64???Bit with 13???Bit PIC
5.2.5 64???Bit With 32???Bit PIC
5.3 Global Object Table (GOT) Code Models
5.4 Thread Local Storage (TLS) Code Models
5.4.1 Local Executable Code Model
5.4.2 Initial Executable Code Model
5.4.3 Local Dynamic TLS Code Model
5.4.4 General Dynamic TLS Code Model
Chapter 6 Writing Functions ??? The SPARC ABI
6.1 Anatomy of a C Function
6.2 Register Usage
6.3 Parameter Passing
6.4 Functions Returning Values
6.4.1 Limitations for 32???Bit Code
6.4.2 Limitations for Both 32???Bit and 64???Bit Code
6.4.3 Additional Information
Chapter 7 Assembler Inline Functions and __asm Code
7.1 Inline Function Templates in C and C++
7.1.1 Compiling C/C++ with Inline Templates
7.1.2 Layout of Code in Inline Templates
7.1.3 Guidelines for Coding Inline Templates
7.1.3.1 Parameter Passing
7.1.3.2 Stack Space
7.1.3.3 Branches and Calls
7.1.4 Late and Early Inlining
7.1.5 Compiler Calling Convention
7.1.6 Improving Efficiency of Inlined Functions
7.1.7 Inline Templates in C++
7.1.7.1 C++ Inline Templates and Exceptions
7.2 Using __asm Statements in C and C++
Appendix A Using the Assembler Command Line
A.1 Assembler Command Line
A.2 Assembler Command Line Options
A.3 Disassembling Object Code
Appendix B A Sample Assembler Program
Appendix C SPARC Instruction Sets and Mnemonics
C.1 Natural Instructions
C.1.1 Natural Register, Natural Word
Index
Index Numbers and Symbols
Index A
Index B
Index C
Index D
Index E
Index F
Index G
Index H
Index I
Index L
Index M
Index N
Index O
Index P
Index Q
Index R
Index S
Index T
Index U
Index V
Index W
Index X
Index Y
Language:
English
S
-S option
Assembler Command Line Options
-s option
Assembler Command Line Options
.section
Alphabetized Listing with Descriptions
.seg
Alphabetized Listing with Descriptions
.single
Alphabetized Listing with Descriptions
.size
Alphabetized Listing with Descriptions
.skip
Alphabetized Listing with Descriptions
.stabn
Alphabetized Listing with Descriptions
.stabs
Alphabetized Listing with Descriptions
section control directives
Section Control Directives
section control pseudo-ops
Section Control Directives
section header
Section Header
sh_flags
Section Header
sh_info
Section Header
sh_link
Section Header
sh_name
Section Header
sections
Sections
SPARC-V9, 64-bit expressions
SPARC V9 Operators and Expressions
SPARC-V9, 64-bit operators
SPARC V9 Operators and Expressions
special floating-point values
Numbers
special names, floating point values
Numbers
special symbols
Special Symbols - Registers
statement syntax
Statement Syntax
string tables
String Tables
strings
Strings
multiple in string table
String Tables
multiple references in string table
String Tables
suggested style
Strings
unreferenced in string table
String Tables
sub-strings in string table
references to
String Tables
symbol
Alphabetized Listing with Descriptions
symbol attribute directives
Symbol Attribute Directives
symbol names
Symbol Names
symbol table
Symbol Tables
Symbol Tables
info
Symbol Tables
st_name
Symbol Tables
st_other
Symbol Tables
st_shndx
Symbol Tables
st_size
Symbol Tables
st_value
Symbol Tables
symbol tables
Symbol Tables
syntax notation
Syntax Notation
Previous
Next