
Display Data in Another Format
2-27
An Introductory Tutorial to the C Source Debugger
A third way to display data in another format is to use the DISP, ?, MEM, or WA
command with an optional parameter that identifies the new display format.
The following examples are for ? and WA—DISP and MEM work similarly.
Use display formats with the ? and WA commands:
1) Evaluate a variable and display it as a character:
? small.ra[1],c
2) Add a variable to the watch window and display it as an octal integer:
wa str.a,,o
Notice that because no label was used
with WA
,
an extra comma was inserted;
otherwise, the o parameter would have
been interpreted as a label.
To get ready for the next step, close the DISP and WATCH windows.
Summary of Contents for TMS320C6 Series
Page 10: ...x ...
Page 20: ...xx ...
Page 118: ...4 20 ...
Page 144: ...6 16 ...
Page 164: ...7 20 ...
Page 170: ...8 6 ...
Page 284: ...B 18 ...
Page 290: ...C 6 ...