pTAL Conversion Guide
pTAL Built-In Routines
pTAL Conversion Guide—527302-002
18-41
$READTIME
$READTIME
$READTIME is a routine that returns the number of microseconds since the last cold
load.
$SGBADDR_TO_EXTADDR
$SGBADDR_TO_EXTADDR converts an SGBADDR or SGXBADDR address to an
EXTADDR address.
expression
is an expression whose value is an SGBADDR or SGXBADDR address.
pTAL privileged procedure No
Can be executed only by privileged procedures No
Sets condition code No
Sets $CARRY No
Sets $OVERFLOW No
Figure 18-18. TAL Code Equivalent to $READSPT Routine
CODE(RTIM);
Example 18-29. Call to $READTIME Routine
FIXED time_now;
time_now := $READTIME;
pTAL privileged procedure No
Can be executed only by privileged procedures No
Sets condition code No
Sets $CARRY No
Sets $OVERFLOW No
VST651.vsd
$READTIME
expression( )
VST603.vsd
$SGBADDR_TO_EXTADDR