System Debug Reference Manual (32650-90888)

396 Chapter10
System Debug Standard Functions
func errmsg
Examples
$nmdat > wl eaddr( 1 )
$0.1
$nmdat > wl eaddr( ffff )
$0.ffff
$nmdat > wl eaddr( 1234abcd )
$0.1234abcd
$nmdat > wl eaddr( -1 )
$0.ffffffffffffffff
$nmdat > wl eaddr( 1234.5678 )
$1234.5678
$nmdat > wl eaddr( true )
$0.1
$nmdat > wl eaddr( prog(1.2) )
$1.2
Limitations, Restrictions
none
func errmsg
Returns an error message string, based on error number and an optional subsystem
number.
Syntax
errmsg (
errnum
[
subsys
])
LONG Class Transfer the SID part unchanged. Right justify the original offset part in
the low-order 64 bits of the offset part with zero fill.
EADDR
SADDR
Transfer both parts of the address unchanged.
STR Transfer the ASCII bit pattern for the last twelve characters in the string.
Strings shorter than twelve characters are treated as if they were
extended on the left with nulls.
Table 10-4. Derivation of the EADDR Bit Pattern
Parameter Type Action