
Displaying Data in Alternative Formats
7-19
Managing Data
Changing the default format with ?, MEM, DISP, and WA
You can also use the ?, MEM, DISP, and WA commands to show data in alter-
native display formats. (The ? and DISP commands use alternative formats
only for scalar types, arrays of scalar types, and individual members of aggre-
gate types.)
Each of these commands has an optional
display format parameter that works
in the same way as the
display format parameter of the SETF command.
When you don’t use a
display format parameter, data is shown in its natural
format (unless you have changed the format for the data type with SETF).
Here are some examples:
-
To watch the PC in decimal, enter:
wa pc,,d
-
To display memory contents in octal, enter:
mem 0x0,o
-
To display an array of integers as characters, enter:
disp ai,c
The valid combinations of data types and display formats listed for SETF also
apply to the data displayed with DISP, ?, WA, and MEM. For example, if you
want to use display format e or f, the data that you are displaying must be of
type float or type double. Additionally, you cannot use the s display format
parameter with the MEM command.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...