pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
YesSets $CARRY
NoSets $OVERFLOW
virtaddr
input
EXTADDR:value
is the virtual address of the SPT entry to copy.
sptentryaddr
output
EXTADDR:variable
is the address at which $READSPT stores the SPT entry.
Example 298 $READSPT Routine
EXTADDR virtual_addr;
INT .EXT spt_entry(spt_template) := spt_entry_addr;
$READSPT(virtual_addr, @spt_entry);
$READTIME
$READTIME returns the number of microseconds since the last cold load.
NOTE: $READTIME is not affected by the TACL command SETTIME; therefore, $READTIME does
not always return the value [JULIANTIMESTAMP(0) - JULIANTIMESTAMP(1)].
For a description of the SETTIME command, see the TACL Reference Manual. For a description of
the JULIANTIMESTAMP function, see the Guardian Procedure Calls Reference Manual.
NopTAL privileged procedure
NoCan be executed only by privileged procedures
NoSets condition code
NoSets $CARRY
NoSets $OVERFLOW
Example 299 $READTIME Routine
FIXED time_now;
time_now := $READTIME;
$SCALE
$SCALE moves the position of the implied fixed-point (decimal point) by changing a FIXED(fpoint )
value.
340 Built-In Routines










