Assembler Directives and Pseudo-Operations

.CALL Directive

parameters in both the corresponding general registers and corresponding floating-point registers. See the documents under the topic PA-RISC Architecture at URL: http://www.software.hp.com/STK/.

The form of argument-description is:

arg=location

 

where arg can

 

be:

 

ARGWO

The first word in the argument list.

ARGW1

The second word in the argument list.

ARGW2

The third word in the argument list.

ARGW3

The fourth word in the argument list.

RTNVAL

The return value for a procedure.

and location can

 

be:

 

NO

The argument word cannot be

 

relocated. This should be used for all

 

nonfloating-point arguments; it is the

 

default when an

 

argument-description is omitted.

GR

The argument word occurs in a

 

general register.

FR

The argument word occurs in a

 

floating point register.

FU

The argument word occurs in the

 

upper half of a floating-point register.

Example

This example shows the use of the .CALL directive in 32-bit mode.

64

Chapter 4