Document Information
Preface
1. SPARC Assembler for SunOS 5.x
2. Assembler Syntax
3. Executable and Linking Format
4. Converting Files to the New Format
5. Instruction-Set Mapping
A. Pseudo-Operations
B. Examples of Pseudo-Operations
B.1 Example 1
B.2 Example 2
B.3 Example 3
B.4 Example 4
B.5 Example 5
C. Using the Assembler Command Line
D. An Example Language Program
E. SPARC-V9 Instruction Set
Index
This example shows how to use the .volatile and .nonvolatile pseudo-ops to protect a section of handwritten assembly code from peephole optimization.
.volatile t 0x24 std %g2, [%o0] retl nop .nonvolatile