pTAL Conversion Guide

Contents
pTAL Conversion Guide527302-002
xi
20. Hardware Indicators (continued)
20. Hardware Indicators (continued)
Using Hardware Indicators Across Procedures 20-27
TAL 20-27
pTAL 20-27
Returning the Condition Code to a Caller 20-28
Glossary
Index
Examples
Example 4-1. pTAL Constant Lists 4-4
Example 4-2. FIXED(*) Variables 4-5
Example 5-1. Reference Alignment 5-4
Example 5-2. Volatile Data 5-6
Example 5-3. Valid Uses of the VOLATILE Attribute 5-7
Example 5-4. Volatile Simple Variables 5-8
Example 5-5. Volatile Simple Pointers 5-8
Example 5-6. Volatile Structure Pointers 5-9
Example 5-7. Volatile Parameters 5-10
Example 5-8. Invalid Uses of the VOLATILE Attribute 5-10
Example 5-9. Ensuring That VOLATILE is Effective 5-11
Example 7-1. Labels and IF Statements (pTAL) 7-2
Example 9-1. Read-Only Array Declarations (pTAL) 9-1
Example 9-2. Constant Lists in Read-Only Array Declarations (pTAL) 9-2
Example 9-3. Constant Lists in Nonstring Array Declarations (TAL) 9-3
Example 9-4. Constant Lists in Nonstring Array Declarations (pTAL) 9-4
Example 10-1.
@ Operator Applied to Structure Elements 10-15
Example 10-2.
@ Operator Applied to Control Structure Elements 10-16
Example 10-3. Storing Addresses in Pointers and Variables (pTAL) 10-18
Example 10-4. Numeric Conversions With BADDR and WADDR Addresses
(pTAL) 10-19
Example 10-5. Numeric Conversions With System Global Addresses (pTAL) 10-19
Example 10-6. Numeric Conversions With EXTADDR Addresses (pTAL) 10-20
Example 10-7. Address Shifts (pTAL) 10-24
Example 10-8. Stepping Pointers Using Indexing (pTAL) 10-26
Example 10-9. Stepping Pointers Using Arithmetic (pTAL) 10-28
Example 10-10. Computing the Number of Bytes Between Addresses (pTAL) 10-29
Example 10-11. Subtracting One Address From Another (pTAL) 10-30
Example 10-12. Comparing Addresses to Constants (pTAL) 10-32