Assembler Directives and Pseudo-Operations

.EXPORT Directive

MILLI_EXT

Locates code for the entry point of an

 

external millicode routine.

PLABEL

Locates a pointer to a procedure.

PRI_PROG

Designates the primary program

 

entry point. The outer block of HP

 

Pascal/HP-UX and the main

 

program in HP FORTRAN 77/HP-UX

 

are type PRI_PROG.

 

In PA-RISC 2.0W (64-bit mode)

 

PRI_PROG symbols map to

 

STT_FUNC.

SEC_PROG

Designates a secondary program

 

entry point.

 

In PA-RISC 2.0W (64-bit mode)

 

SEC_PROG symbols map to

 

STT_FUNC.

argument-

description Allows you to communicate to the linker the types of registers used to receive floating point arguments and return floating point return results. Similarly, this information can be communicated in the .CALL directive.

The linker requires this information, since the Procedure Calling Convention described in the documents under the topic PA-RISC Architecture at http://www.software.hp.com/STK/ allows floating point arguments and return values to reside in either general registers or floating point registers, depending on source language convention. At link time, the linker ensures that both the caller and called procedure agree on argument location. If not, the linker may insert code to relocate the arguments (or return result) before control is transferred to the called procedure or a procedure return is completed.

The form of argument-descriptionis described in See “.CALL Directive” on page 63 in this chapter.

86

Chapter 4