pTAL Conversion Guide

pTAL Conversion Guide527302-002
8-1
8 Simple Variables
A variable that is not an array, a structure, or a pointer is a simple variable.
In pTAL, you can declare:
Simple variables whose data type is an address type
Simple variables whose data type is FIXED(*)x
Volatile variables
VOLATILE
specifies that the value of this variable must be maintained in memory, not in a
native register. Each reference to the variable causes a read from or a write to
memory.
type
is one of the following data types:
width
See the TAL Reference Manual.
fpoint
is the same as in TAL except that in pTAL, fpoint can be an asterisk (*):
FIXED(*) f; See FIXED Variables on page 4-5 for a discussion of FIXED(*)
variables. See the TAL Reference Manual for a discussion of fpoint.
STRING REAL SGBADDR
INT REAL(64) SGWADDR
NT(32) BADDR SGXBADDR
UNSIGNED (width ) WADDR SGXWADDR
FIXED [ (fpoint ) ] CBADDR EXTADDR
CWADDR PROCADDR
VOLATILE
type
identifier
initialization:=
;
,
VST622.vsd