| |||
Home > DS-5 Debugger commands > DS-5 Debugger commands listed in alphabetical order > output |
This command displays only the result of an expression. This
is similar to the print
command but it does not
record the results in a debugger variable.
output
[/flag
] expression
Where:
flag
Specifies the output format:
x
Hexadecimal (casts the value to an unsigned integer prior to printing in hexadecimal)
d
Signed decimal. This is the default.
u
Unsigned decimal
o
Octal
t
Binary
a
Absolute hexadecimal address
c
Character
f
Floating-point
s
Default format from the expression.
expression
Specifies an expression that is evaluated and the result is returned.
If your expression accesses memory then a default address
variable is set to the location after the last accessed address.
Some commands, such as x
, use this default value
if no address is specified.
ARM® DS-5™ Using the Debugger: