System Debug Reference Manual (32650-90888)

Chapter 10 439
System Debug Standard Functions
func s64
Examples
$nmdat > wl s32( 1 )
$1
$nmdat > wl s32( ffff )
$ffff
$nmdat > wl s32( ffff ):"#"
#65535
$nmdat > wl s32( 1234abcd )
$1234abcd
$nmdat > wl s32( -1 )
$ffffffff
$nmdat > wl s32( ffffffff ):"#"
$#-1
$nmdat > wl s32( 1234.5678 )
$5678
$nmdat > wl s32( true )
$1
$nmdat > wl s32( "ABCDEFG" )
$44454647
$nmdat > wl s32( prog(1.2) )
$2
Limitations, Restrictions
none
func s64
Coerces an expression into a signed 64-bit value.
STR Transfer the ASCII bit pattern for the last four characters in the string.
Strings shorter than four characters are treated as if they were extended
on the left with nulls.
Table 10-12. Derivation of the S32 Bit Pattern
Parameter Type Action