User`s guide
Debugging for DSP56800E
Command-Line Debugging
245Targeting MC56F83xx/DSP5685x Controllers
evaluate
Use the evaluate debugging command to display a C variable type or value.
Prototype
e[valuate] [ b | d |f | h | u] variable
The following list defines the options for the first parameter, [b|d|f|h
|u]
, as follows:
• b = binary
• d = decimal
• f = fraction
• h = hex
• u = unsigned
The preceding parameter defines the format in which to display the value of the
variable.
display p:00..$100 Displays the p memory contents from address 0 to
hexadecimal 100.
display p:00#$200 8bit Display hexadecimal 200 memory units’ contents
from address 0. Access memory in 8bit mode.
Table 8.16 Debugging Command Examples: evaluate
Example Description
evaluate Lists the types for all the variables in the current and
global stack.
evaluate i Returns the value of the variable i.
Table 8.15 Debugging Command Examples: display (continued)
Example Description