System Debug Reference Manual (32650-90888)

292 Chapter6
System Debug Command Specifications M-X
W (write)
$nmdat > var number:u32=123
$nmdat > wl number
$123
$nmdat > wl number:"-"
123
$nmdat > wl number:"#"
#291
$nmdat > wl number:"d"
291
$nmdat > wl number:"f,r"
$123
$nmdat > wl number:"r,w6,- z"
$nmdat > wl number:"r,w6,- z t"
U32 000123
Several examples of formatting an unsigned 32-bit value.
$nmdat > var test='test'
$nmdat > wl test
test
$nmdat > wl test:"t"
STR test
$nmdat > wl test:"+"
$test
$nmdat > wl test:"w2"
test
$nmdat > wl test:"w8,r"
test
$nmdat > wl test:"w8, r qd"
" test"
Several examples of formatting a string.
$nmdat > var long 2f.42c8
$nmdat > wl long
$2f.42c8
$nmdat > wl long:"t"
LPTR $2f.42c8
$nmdat > wl long:"-.+"
2f.$42c8
$nmdat > wl long:"#.$,m.m"
#47.$42c8
$nmdat > wl long:"r.r f.m z"
$2f.42c8
$nmdat > wl long:"r.r,w6.6,z.z"
$00002f.0042c8
$nmdat > wl long:"r.r w6.6, z.z, qd"
"$00002f.0042c8"
$nmdat > wl long:"r.r w6.6, b.b, $.$"
$2f. $42c8
$nmdat > wl long:"r.l w6.6, b.b, $.$"
$2f . $42c8