w

w


u Index Level x
Syntax w{data.reference.specification}  
Category System Debugger
Type Command
Description displays subsequent output in hexadecimal words.

The "w" is a formatting specification in the system debugger similar to the "x" format. However, the "w" format prints the data as 2 byte "words" instead of bytes. This means that on Intel platforms, data will be un-byte-swapped so that it can be displayed in a human-readable format.

To indicate that the "w" format is in effect, brackets are displayed around the data.

To force input data to be entered by words, use the "[" modifier before the data.

When the "w" format is in effect, the "[" modifier is assumed when entering hexadecimal input.

The "w" format may also be specified for traces.
Options
See Also data format specification data reference specification System Debugger data window specification System Debugger System Debugger functions t [ x
Example Assume the following occurs on an Intel platform:
debug
!/r11 .00002c010000151e=w
1557.158  [.0000012c00001e15]=
!x/t0 .e400=w
1557.e  [.00e4]=[.0102]
!x/t0 .0201=w
1557.e  [.0102]=.0304
!w/t0  [.0304]=
!tw/t0+ 1557.e
!e on
!g
E tcl1:01c
1557.e [.0102]
!end
Warnings The "w" format is identical to the "x" format on non-Intel platforms.

Because the "w" format deals with 2 byte words, it will not function properly if the starting address is odd.  The "[" input specifier also cannot be used in this case.
Compatibility AP 6.1
u Index Level x