pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
$OPTIONAL...................................................................................................................333
$OVERFLOW..................................................................................................................335
$PARAM........................................................................................................................336
$POINT..........................................................................................................................336
$PROCADDR..................................................................................................................337
$PROC32ADDR..............................................................................................................337
$PROC64ADDR..............................................................................................................338
$READBASELIMIT............................................................................................................338
$READCLOCK.................................................................................................................339
$READSPT......................................................................................................................339
$READTIME....................................................................................................................340
$SCALE..........................................................................................................................340
$SGBADDR_TO_EXTADDR................................................................................................341
$SGBADDR_TO_SGWADDR.............................................................................................342
$SGWADDR_TO_EXTADDR..............................................................................................342
$SGWADDR_TO_SGBADDR.............................................................................................343
$SPECIAL.......................................................................................................................343
$STACK_ALLOCATE.........................................................................................................344
$TRIGGER......................................................................................................................345
$TYPE............................................................................................................................345
$UDBL............................................................................................................................346
$UDIVREM16..................................................................................................................347
$UDIVREM32..................................................................................................................348
$UFIX ............................................................................................................................349
$UNLOCKPAGE..............................................................................................................349
$WADDR_TO_BADDR......................................................................................................350
$WADDR_TO_EXTADDR...................................................................................................350
$WRITEPTE.....................................................................................................................351
$XADR...........................................................................................................................352
$XADR32.......................................................................................................................352
$XADR64.......................................................................................................................353
16 Compiling and Linking pTAL Programs.....................................................355
Compiling Source Files..........................................................................................................355
Input Files.......................................................................................................................356
Output Files.....................................................................................................................356
Running the Compiler.......................................................................................................357
Completion Codes Returned by the Compiler.......................................................................358
Linking Object Files...............................................................................................................358
Creating a Dynamic Linked Library (DLL)..................................................................................362
Compiling With Global Data Blocks.......................................................................................362
Declaring Global Data.....................................................................................................362
Allocating Global Data Blocks...........................................................................................365
Address Assignments........................................................................................................365
Sharing Global Data Blocks..............................................................................................365
Compiling With Saved Global Data........................................................................................366
Using the Code Profiling Utilities.............................................................................................366
17 Compiler Directives...............................................................................367
Specifying Compiler Directives...............................................................................................367
Compilation Command.....................................................................................................367
Directive Line...................................................................................................................367
File Names as Compiler Directive Arguments............................................................................368
Directive Stacks....................................................................................................................369
Pushing Directive Settings..................................................................................................369
Popping Directive Settings.................................................................................................369
10 Contents