HP Pascal/iX Reference Manual (31502-90022)

12- 41
Actually, the intrinsic search mechanism searches for the intrinsic name
(other than specified by INTR_NAME) or the alias (if specified by the
ALIAS compiler option), but it returns the name specified by INTR_NAME.
Example
$BUILDINT 'MYINTR'$
PROGRAM Show_Buildint;
PROCEDURE Proc2 (p1 : Boolean;
p2 : integer;
p3 : real
);
$ALIAS 'proc2alias'$
$INTR_NAME 'proc2returnname'$
EXTERNAL;
BEGIN
END.
The intrinsic file search mechanism searches for proc2alias, but returns
proc2returnname.
KEEPASMB
KEEPASMB is an HP Pascal Option.
The KEEPASMB compiler option causes the compiler to leave behind an
assembler source file containing the code for the entire compilation
unit. This file can usually be run through the assembler to produce the
same object file that the compiler produces directly.
On MPE/iX, the KEEPASMB option produces a file with the formal designator
PASASSM, which is a temporary file by default. You are recommended to
file-equate this name. You must file-equate it if the current group
contains more than one compilation unit, or if the resultant assembler
source is too big. For information on file equations, refer to the
MPE/iX Commands Reference Manual
.
On HP-UX, the KEEPASMB option produces a file with the same name as the
source file, except that its suffix is .s instead of .p.
The command line option -S also specifies this option.
Syntax
$KEEPASMB {ON }$
{OFF}
Default OFF
Location At front.
When you use the LIST_CODE option with KEEPASMB, LIST_CODE turns KEEPASMB
on.
Example
$KEEPASMB ON$
PROGRAM x;
BEGIN
END.
The program above produces the following assembly file:
.SPACE $TEXT$
.SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44