System Debug Reference Manual (32650-90888)
Chapter 6 291
System Debug Command Specifications M-X
W (write)
LPUB, 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
untyped (U).
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 cost 100
$nmdat > w "the price is "
$nmdat > w cost
$nmdat > wl " for the goodies."
the price is $100 for the goodies
$nmdat > wl "the price is ", cost, " for the goodies."
the price is $100 for the goodies
Two different methods of writing mixed text and formatted numbers.