![Texas Instruments TMS320C6 Series Скачать руководство пользователя страница 147](http://html.mh-extra.com/html/texas-instruments/tms320c6-series/tms320c6-series_user-manual_1094537147.webp)
Basic Commands for Managing Data
7-3
Managing Data
?
The ? (evaluate expression) command evaluates an expression and shows
the result in the display area of the COMMAND window. The syntax for this
command is:
?
expression
The
expression can be any C expression, including an expression with side
effects. However, you cannot use a string constant or function call in the
expression.
If the result of
expression is scalar, the debugger displays the result as a deci-
mal value in the COMMAND window. If
expression is a structure or array, ? dis-
plays the entire contents of the structure or array; you can halt long listings by
pressing
ESC
.
Here are some examples that use the ? command.
Command
Result displayed in the COMMAND window
? aai
aai[0][0] 1
aai[0][1] 23
aai[0][2] 45
etc.
? j
4194425
? j=0x5a
90
Note that the DISP command (described in detail on page 7-11) behaves like
the ? command when its
expression parameter does not identify an aggregate
type.
eval
The EVAL (evaluate expression) command behaves like the ? command
but
does not show the result in the display area of the COMMAND window. The
syntax for this command is:
eval
expression
or
e
expression
EVAL is useful for assigning values to registers or memory locations in a batch
file where it’s not necessary to display the result.
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...