TAL Reference Manual

Standard Functions
TAL Reference Manual526371-001
14-42
Usage Consideration
int-expression
is an unsigned INT expression.
Usage Consideration
$UDBL places the INT value in the low-order 16 bits of an INT(32) variable and sets
the high-order 16 bits to 0.
Example of $UDBL Function
In this example, $UDBL returns an INT(32) value from an unsigned INT expression:
INT a16 := -1; !Declare variables
INT(32) a32;
a32 := $UDBL (a16); !Return 65535D
$USERCODE Function
The $USERCODE function returns the content of the word at the specified location in
the current user code segment.
expression
is an INT expression that specifies a word address in the current user code
segment.
Usage Considerations
$USERCODE enables a program that is executing in system code space to obtain the
content of a word location in the current user code segment.
$USERCODE invokes the LWUC instruction, described in the
System Description
Manual for your system.
$USERCODE is not portable to future software platforms.
$USERCODE
(
)
expression
VST1445.vsd