User`s guide
Debugging for DSP56800E
Command-Line Debugging
257Targeting MC56F83xx/DSP5685x Controllers
The default input and display radix is 16: hexadecimal input and display values.
NOTE
You can override the default input radix when entering an individual
value. To specify a hexadecimal constant, precede the constant with a
dollar sign ($). To specify a decimal constant, precede the constant
with a grave accent (`). To specify a binary value, precede the
constant with a percent sign (%). To specify a fraction value, precede
the constant with a caret (^).
Prototype
r[adix] [b | d | f | h | u]
[ register |
reg_block | addr_group ]...
The possible parameter values mean:
• b = 2 binary numbers)
• d = 10 (decimal numbers)
• f = fractional numbers
• h = 16 (hexadecimal numbers)
• u = unsigned numbers
The preceding parameter, when not followed by register names or memory locations,
specifies the radix to use as the default input radix. When followed by register names
or memory locations, the radix is the default display radix when displaying the values
contained in the specified register or memory location.
reg_block ::= register_first..register_last
addr_group ::= address | addr_block
addr_block ::= address_first..address_last |
address#count
count ::= a value indicating the number of memory locations
If you enter the radix command without any parameters, the debugging window
displays the current default input radix.
Examples
Table 8.25
shows examples of the radix command.