pTAL Reference Manual (H06.08+)
Built-In Routines
HP pTAL Reference Manual—523746-006
15-79
$READBASELIMIT
identifier
is either a procedure address (that is, @procedure-name ) or an INT(32)
expression.
$READBASELIMIT
$READBASELIMIT returns the base and limit of the current extended segment.
xbase
INT(32):variable
is the base address of the current extended segment.
xlimit output
INT(32):variable
is the limit of the current extended segment.
Consult the system description manual for your system for the format in which the base
and limit values are returned.
Note. The EpTAL compiler does not support this procedure.
pTAL privileged procedure Yes
Can be executed only by privileged procedures Yes
Sets condition code No
Sets $CARRY No
Sets $OVERFLOW No
Example 15-75. $READBASELIMIT Routine
INT(32) xbase;
INT(32) xlimit;
$READBASELIMIT(xbase, xlimit);
( )
VST649.vsd
,$READBASELIMIT
xbase
xlimit










