pTAL Conversion Guide

Contents
pTAL Conversion Guide527302-002
x
18. pTAL Built-In Routines (continued)
18. pTAL Built-In Routines (continued)
$WADDR_TO_EXTADDR 18-54
$WRITEPTE 18-54
19. Compiler Operation
Compiling pTAL Programs 19-1
Input File 19-1
Output Files 19-2
Swap Files 19-3
ASSIGN and SSV Commands 19-3
PARAM Commands 19-3
Running the Compiler at a High or Low PIN 19-3
Compiler Directives 19-3
For TAL Only 19-3
For pTAL and TAL 19-6
Separate Compilation 19-28
Linking Object Files 19-29
20. Hardware Indicators
Managing Overflow Traps 20-1
Managing Overflow Traps in TAL 20-2
Managing Overflow and Traps in pTAL 20-3
Static T Flag 20-4
OVERFLOW_TRAPS Directive 20-4
OVERFLOW_TRAPS Procedure Attribute 20-5
ENABLE_OVERFLOW_TRAPS Block Attribute 20-6
Running Programs With Overflow Traps Disabled
20-8
Comparing Overflow Trapping in Native Processes
20-8
Overflow Traps Considerations 20-12
Setting Hardware Indicators 20-14
Setting Hardware Indicators in TAL 20-15
Setting $CARRY 20-20
Setting $OVERFLOW 20-21
Testing Hardware Indicators 20-21
Nesting Condition Code Tests 20-24
Testing Condition Codes Set in Conditional Expressions 20-25
Testing Condition Codes After Comparing Addresses 20-26