pTAL Reference Manual (H06.03+)
Contents
HP pTAL Reference Manual—523746-005
xxvi
Examples (continued)
Examples (continued)
Example 15-91. $UDIVREM32 Routine 15-92
Example 15-92. $UNLOCKPAGE Routine 15-93
Example 15-93. $WADDR_TO_BADDR Routine 15-94
Example 15-94. $WADDR_TO_EXTADDR Routine 15-94
Example 15-95. $WRITEPTE Routine 15-95
Example 15-96. $XADR Routine 15-96
Example 16-1. Compiler Command Lines 16-2
Example 16-2. Naming a Compilation Unit 16-13
Example 16-3. Declaring a Named Data Block 16-13
Example 16-4. Data Block and Variable With the Same Name 16-13
Example 16-5. Declaring a Private Data Block 16-14
Example 16-6. Declaring Unblocked Data 16-14
Example 17-1. Compilation Commands With Compiler Directives 17-2
Example 17-2. Pushing and Popping a Directive Stack 17-5
Example 17-3. DEFINETOG, IF, and ENDIF Directives 17-7
Example 17-4. DEFINETOG, IFNOT, and ENDIF Directives Directive 17-7
Example 17-5. SETTOG, IF, and ENDIF Directives 17-7
Example 17-6. SETTOG, IFNOT, and ENDIF Directives 17-7
Example 17-7. SETTOG, RESETTOG, IF, and ENDIF Directives 17-8
Example 17-8. MYPROG Source File for Example 17-9 Through
Example 17-12 17-10
Example 17-9. Saving Global Data Declarations and Data Initializations 17-10
Example 17-10. Retrieving Global Data Declarations and Data Initializations 17-11
Example 17-11. Checking the Syntax of Global Data Declarations 17-11
Example 17-12. Recompiling MYPROG After Correcting Errors 17-11
Example 17-13. Original SAVEGLOBALS Compilation Source File 17-12
Example 17-14.
New GLOBALS Source File 17-12
Example 17-15.
Corrected SAVEGLOBALS Compilation Source File 17-13
Example 17-16. DEFEXPAND Directive 17-25
Example 17-17. FIXERRS Macro 17-30
Example 17-18. ERRORFILE Directive 17-30
Example 17-19. ERRORS Directive 17-31
Example 17-20. GP_OK, NOGP_OK, PUSHGP_OK, and POPGP_OK
Directive 17-36
Example 17-21.
IF Directive Without Matching ENDIF Directive 17-39
Example 17-22. IF Directive With Matching ENDIF Directive 17-39
Example 17-23. INNERLIST and NOINNERLIST Directives 17-40
Example 17-24. Listing Source Code But Not System Declarations 17-42










