 |
» |
|
|
|
Type Name |  |
lang_asm_pa Title |  |
HP-UX PA-RISC assembler Description |  |
This manager supports simple PA-RISC assembly language expressions
as described in "Syntax." Syntax |  |
expression An assembly language expression constructed from the reserved
names, constants, operators, and address expressions listed in this
section. Reserved Names - r0
- r31
General registers - fr0l,
fr0r, fr1l,...,
fr31l, fr31r
Single-precision floating-point registers; these
64 registers correlate to the left and right halves of the double-precision
floating-point registers having the corresponding numbers - fr0
- fr31
Double-precision floating-point registers - sr0
- sr7
Space registers - cr0,
cr8 - cr31
Control registers - rctr
Recovery counter - pidr1
- pidr4
Protection identifiers - ccr
Coprocessor configuration register - sar
Shift amount register - iva
Interruption vector address - eiem
External interrupt enable mask - itmr
Interval timer - pcsq,
pcoq (or pcspace,
npcspace)
Interruption instruction address space and offset
queues - iir,
isr, ior
Interruption parameter registers - ipsw
Interruption processor status word - eirr
External interrupt request register - tr0
- tr7, ppda,
hta
Temporary registers (usable only by code executing
at the most privileged level) - rp
Return link - t1
- t4
Temporary registers - arg0
- arg3
Argument words - dp
Data pointer - ret0
Return value - ret1,
sl
Return value, static link - sp
Stack pointer - mrp
Millicode return link - sret,
sarg
Return value, argument - farg0
- farg3
Floating arguments - fret
Return value - sflags
Status flags
Constants Title not available (Syntax ) - Integer
B'digits
(binary) (for example, B'100001111) Q'digits
(octal) (for example, Q'71035) digits (decimal) (for example,
9876) D'digits
(decimal) (for example, D'9876) H'digits
(hexadecimal) (for example, H'2F) R'digits
(hexadecimal right) (for example, R'2F
is H'2F) L'digits
(hexadecimal left shifted 11) (for example, L'2F
is H'17800) - Float
digits[{E|e}[+|-]digits] digits.[digits][{E|e}[+|-]digits] For example, 5.48E-11
is a valid number. - Character
'char[char[char[char]]]'
Operators - Assignment
= - Arithmetic
+,
-, *,
/ - Mod
% - Shift
<<<,
&>&> - Logical
&,
|, ^,
~ (and, or, xor,
not) - Grouping
{}
Address Expressions - [location]identifier
Name from source program - Rn
Register direct - [expression]
Indirect - (expression)
Indirect - (expression, expression)
Add, then indirect - expression1(expression2)
Indirect, plus displacement (expression1
must be a register or a constant) - expression.B
8-bit byte - expression.W
16-bit word - expression.L
32-bit longword
Hexadecimal is the default input and output radix. language_type {lang_asm_pa|asm_pa}
Startup File |  |
None. Related Managers |  |
None.
|