pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
qvalue
input
FIXED(*):value
is a quadrupleword integer value to convert to ASCII digits.
bufferaddr
input
BADDR:value
is the byte address at which to write the ASCII digits.
maxdigits
input
uINT:value
is the maximum number of ASCII digits to write at bufferaddr.
If $FIXEDTOASCII converts maxdigits bytes but leading digits in qvalue are not converted,
and $OVERFLOW can be checked, $FIXEDTOASCII sets $OVERFLOW; otherwise, it resets
$OVERFLOW.
Example 255 $FIXEDTOASCII Routine
LITERAL buffer_len = 100;
FIXED val;
STRING .buffer[ 0:buffer_len - 1 ];
$FIXEDTOASCII(val, @buffer, buffer_len);
$FIXEDTOASCIIRESIDUE
$FIXEDTOASCIIRESIDUE converts the absolute value of a FIXED value to an ASCII value and returns
the value of the residue.
NopTAL privileged procedure
NoCan be executed only by privileged procedures
NoSets condition code
NoSets $CARRY
YesSets $OVERFLOW
qvalue
input
FIXED(*):value
is a quadrupleword integer value to convert to ASCII digits.
bufferaddr
input
BADDR:value
is the byte address at which to write the ASCII digits.
Nonatomic Operations 311