
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.
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 ...