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

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

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

Chapter 5

SPARC Code Models

There are two SPARC code models, absolute and position independent, and two address space sizes, 32–bit and 64–bit. This chapter describes how the different code models use different methods for creating an address.