Manuals
/
Brands
/
Computer Equipment
/
Software
/
HP
/
Computer Equipment
/
Software
HP
UX Developer Tools manual
118
1
118
202
202
Download
202 pages, 308.59 Kb
Assembler Directives and
Pseudo-Operations
Programming Aids
118
Chapter 4
Contents
HP Assembler Reference Manual
HP 9000 Computers
Legal Notices
Restricted Rights Legend
Contents
Page
Page
Page
Page
Page
Page
Page
Preface
Audience
Related Documentation
Typographical Conventions
In This Manual
Summary of Technical Changes for HP-UX11.0
Introduction to PA-RISC
Assembly Language
Assembler Features
Page
Summary of Changes for PA-RISC2.0
Summary of Changes for PA-RISC2.0W (Wide Mode, 64-bit)
Page
Program Structure
Page
Symbols and Constants
Page
Registers and Register Mnemonics
Page
Page
Page
Page
Page
Expressions
Page
Page
Page
Page
Parenthesized Subexpressions
Operands and Completers
Page
Macro Processing
Page
HP-UXArchitecture
Conventions
Spaces
Page
Page
Subspaces
Directives
Sections in 64-bitMode
Page
Location Counters
Compiler Conventions
Page
Page
Page
Shared Libraries
Assembly Listing
Page
4Assembler Directives and Pseudo-Operations
Introduction
Page
Page
Page
.ALIGN Directive
.ALLOW Directive
Page
.BLOCK and .BLOCKZ Pseudo-Operations
Page
.BYTE Pseudo-Operation
.CALL Directive
Page
Page
Page
.CALLINFO Directive
Page
Page
Page
Page
Page
Page
.COMM Directive
.COPYRIGHT Directive
Page
.DOUBLE Pseudo-Operation
.DWORD Pseudo-Operation
.END Directive
.ENDM Directive
.ENTER and .LEAVE Pseudo-Operations
Page
.ENTRY and .EXIT Directives
.EQU Directive
.EXPORT Directive
Page
Page
.FLOAT Pseudo-Operation
.HALF Pseudo-Operation
.IMPORT Directive
Page
.LABEL Directive
.LEVEL Directive
Page
.LISTOFF and .LISTON Directives
Page
.LOCCT Directive
.MACRO Directive
Examples
Page
.ORIGIN Directive
.PROC and .PROCEND Directives
Page
.REG Directive
.SHLIB_VERSION Directive
.SPACE Directive
Page
.SPNUM Pseudo-Operation
.STRING and .STRINGZ Pseudo-Operations
Page
.SUBSPA Directive
Page
Page
.VERSION Directive
.WORD Pseudo-Operation
Programming Aids
Page
Page
Pseudo-InstructionSet
Page
Page
Page
Assembling Your Program
Invoking the Assembler
Using the as Command
Page
Page
Using the cc Command
cpp Preprocessor
Programming Examples
1. Binary Search for Highest Bit Position
Page
2. Copying a String
Page
3. Dividing a Double-WordDividend
Page
4.Demonstrating the Procedure Calling Convention
Assembly Program Listing
5. Output of the cc -SCommand
Page
Page
Diagnostic Messages
Warning Messages
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Error Messages
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Panic Messages
Page
User Warning Messages
Page
Page
Page
Page
Limit Error Messages
Page
Page
Page
Branching Error Messages