pTAL Reference Manual (H06.08+)

Built-In Routines
HP pTAL Reference Manual523746-006
15-21
Miscellaneous Routines
$OVERFLOW Indicates whether an overflow
occurred during certain arithmetic
operations
$PARAM
Checks for the presence or absence
of an actual parameter in the call that
called the current procedure or
subprocedure
$POINT
Returns the fpoint value of a
FIXED expression
$PROCADDR
Converts an INT(32) value to a
PROCADDR address
$READBASELIMIT
1,2
Returns the base and limit of the
current extended segment
$READCLOCK
Returns the current setting of the
system clock
$READSPT
2,3
Returns (copies) an entry from the
Segment Page Table (SPT)
$CARRY
$READTIME
Returns the number of microseconds
since the last cold load
$SCALE
Moves the position of the implied
decimal point by changing a
FIXED(fpoint ) value
$OVERFLOW
$SGBADDR_TO_EXTADDR
Converts a SGBADDR or SGXBADDR
address to an EXTADDR address
$SGBADDR_TO_SGWADDR
Converts a SGBADDR or SGXBADDR
address to a SGWADDR address
$SGWADDR_TO_EXTADDR
Converts a SGWADDR or
SGXWADDR address to an
EXTADDR address
$SGWADDR_TO_SGBADDR
Converts a SGWADDR or
SGXWADDR address to a SGBADDR
address
$SPECIAL
Tests for a special (ASCII
nonalphanumeric) character
$STACK_ALLOCATE
Allocates a block of memory on the
stack and returns the address of the
block
Table 15-13. Built-In Routines for Nonatomic Operations (page 5 of 6)
Routine Description Can Set ...
1. pTAL privileged procedure (see Privileged Mode on page 15-1)
2. Only procedures operating in privileged mode can execute this routine (see Privileged Mode
on page 15-1).
3. The EpTAL compiler does not support this routine.
4. The pTAL compiler does not support this routine.