pTAL Reference Manual (H06.03+)

Contents
HP pTAL Reference Manual523746-005
viii
13. Hardware Indicators (continued)
13. Hardware Indicators (continued)
Hardware Indicators After Assignments 13-3
$OVERFLOW 13-3
$CARRY 13-4
Condition Codes 13-4
Hardware Indicators in Conditional Expressions 13-8
Nesting Condition Code Tests 13-12
Using Hardware Indicators Across Procedures 13-14
Testing a Hardware Indicator Set in the Calling Procedure 13-14
Returning a Condition Code to the Calling Procedure 13-15
Returning the Value of $OVERFLOW or $CARRY to the Calling Procedure 13-16
14. Procedures, Subprocedures, and Procedure Pointers
Procedure Declarations 14-2
Procedure Attributes 14-5
Parameters and VARIABLE and EXTENSIBLE Procedures 14-8
VARIABLE, EXTENSIBLE and RETURNSCC Procedures as Actual
Parameters 14-9
Formal Parameter Specification 14-10
Using STRUCT as a Formal Parameter 14-16
Passing an .EXT Parameter to a Non-EXTENDED Reference Parameter 14-16
Using the PROC Formal Parameter 14-16
Referencing Parameters 14-16
Procedure Body 14-17
Subprocedure Declarations 14-19
Subprocedure Body 14-21
Entry-Point Declarations
14-22
Procedure Entry-Point Identifiers
14-23
Subprocedure Entry-Point Identifiers 14-24
Procedure Pointers 14-26
Declaring PROCPTR Variables 14-29
Declaring PROCPTR in Structures 14-30
Declaring PROCPTRs as Formal Parameters 14-32
Assignments to PROCPTRs 14-33
Dynamically Selected Procedure Calls 14-35
Labels in Procedures 14-37