SPARC Assembly Language Reference Manual

How This Book is Organized

This book is organized as follows:

Chapter 1, SPARC Assembler for SunOS 5.x discusses features of the SunOS 5.x SPARC Assembler.

Chapter 2, Assembler Syntax describes the syntax of the SPARC assembler that takes assembly programs and produces relocatable object files for processing by the link editor.

Chapter 3, Executable and Linking Format describes the relocatable ELF files that hold code and data suitable for linking with other object files.

Chapter 4, Converting Files to the New Format describes how to convert existing SunOS 4.1 SPARC assembly files to the SunOS 5.x assembly file format.

Chapter 5, Instruction-Set Mapping describes the relationship between hardware instructions of the SPARC architecture and the assembly language instruction set.

Appendix A, Pseudo-Operations lists the pseudo-operations supported by the SPARC assembler.

Appendix B, Examples of Pseudo-Operations shows some examples of ways to use various pseudo-operations.

Appendix C, Using the Assembler Command Line describes the available assembler command-line options.

Appendix D, An Example Language Program describes an example C language program with comments to show correspondence between the assembly code and the C code.

Appendix E, SPARC-V9 Instruction Set describes the SPARC-V9 instruction set and the changes due to the SPARC-V9 implementation.