Index

Numerics

64-bit environment, 16, 17, 23, 24, 33, 39, 44

See Also PA-RISC 2.0W

.ALLOW directive, 58

.CALL directive, 63

.CALLINFO directive, 71

.EXPORT Directive, 85

.EXPORT directive, 85, 86

.LEVEL directive, 93

.SUBSPA directive, 111 Executable and Linking Format, 16, 17, 111

memory, 44

A

ABSOLUTE symbols, 85

absolute expressions, 16 result, 29 symbols, 15

absolute symbols parenthesized subexpressions,

34

access rights attribute and subspaces, 42

add and branch conditions, 122 ADDB pseudo-instruction,120 ADDIB pseudo-instruction,120 address expressions, 16 addressing

long, 40 short, 40

advancing location counter, 101 next alignment boundary, 57

alignment attribute and subspaces, 42

allowing a label definition, 92 arg0

registers, 136 arithmetic

expressions, 29 operators, 29

as

using instead of cc command, 136

as command, 124 options, 124

ASCII value

initializing reserved storage to, 109

Assembler, 15 expressions, 16 features, 15 invoking, 123

list of directives, 53

list of pseudo-operations,55 location counters, 16 machine language, 15 macro processing, 16 mnemonic instructions, 15 pseudo-operations,53 relocatable object file, 15 source file, 15

storage allocation, 16 subspaces, 16 symbol scope, 16 symbolic addresses, 15 symbolic constants, 15

assembling your program, 123, 136

assembly language listing, 51 procedures, 39 programming example

binary search for highest bit position, 130

C program calling assembly, 136

C program generating assembly code, 138

copying a string, 132 dividing a double-word divi-

dend, 134

programming examples, 129 programming for HP-UX,39 programs, 15, 39

assembly statement comments, 19, 20 directives, 19 instructions, 19 label, 19 opcode, 19 operands, 19, 20 pseudo-operations,19

assigning an expression value to an identifier, 84

B

B pseudo-instruction,120 bit-wise operators, 29 blocks of storage, reserving, 60 branch statement

marking, 63 procedure call, 63

branching messages, 187

C

Ccompiler dependencies, 136

passing arguments to Assembler, 127

passing arguments to C preprocessor, 127

passing arguments to linker,

127

Clanguage preprocessor (cpp), 128

type string, 109 calling conventions, 47 catalog

message, 141

cccommand dependencies, 136 using, 127

CODE

196

Index