System Debug Reference Manual (32650-90888)

Chapter 10 359
System Debug Standard Functions
func asc
SYS, USER, TRANS). For example:
pc:"+.-, w4.8, r.l, b.z"
The following default values are used for omitted format directives. Note
that the default format directives depend on the type of value to be
formatted:
value type default format
---------- --------------
STR, BOOL - R B M U
U16,S16,U32,S32,S64 + R B M U
SPTR + R Z F U
LPTR +.- R.L B.Z M.F U
ACPTR LCPTR +.- R.L B.Z M.F T
CST PROG +.- R.L B.Z M.F T
CSTX GRP +.- R.L B.Z M.F T
PUB +.- R.L B.Z M.F T
LGRP +.- R.L B.Z M.F T
LPUB +.- R.L B.Z M.F T
SYS +.- R.L B.Z M.F T
USER +.- R.L B.Z M.F T
TRANS +.- R.L B.Z M.F T
EADDR +.- R.L B.Z M.F U
SADDR +.- R.L B.Z M.F T
Note that absolute code pointers, logical code pointers and extended
addresses display their types (T) by default. All other types default to (U)
untyped.
The Cn (column n) directive moves the current output buffer position to the
specified column position prior to the next write into the output buffer.
Column numbers start at column 1. For example:
number:"c6"
Note: The Cn directive is ignored by the ASC function but is honored by the
W, WL and WP commands.
Examples
$nmdat > var number u32(123)
$nmdat > wl asc(number)
$123
$nmdat > wl asc(number,"-")
123
$nmdat > wl asc(number,"t")
U32 $123
$nmdat > wl asc(number "#")
#291
$nmdat > wl asc(number, 'd')
291
$nmdat > wl asc(number 'fr')
$123