Expression
# 7
i
x+ (y*5)
default_targets[2]
assign_vectors
Expression Strings
An expression string is a list of values separated by commas. The expression
string can contain expressions and ASCII character strings enclosed in
quotation marks. For several commands, each value in an expression string
can be changed to the size specified by the size qualifiers. If you change the
size, the debugger pads elements that do not fit evenly. Examples of
expression strings are shown in the following table.
String
1,2,"abc"
3+ 4, time, mac1()
'1xyz123'
Chapter 10: Expressions and Symbols in Debugger Commands
Valid Expressions
Meaning
Line number reference (code address)
Symbol reference (value or address)
Arithmetic operation (value or address)
Array reference (value or address)
Function name reference (code address)
Expression String Examples
Results
Values 1 and 2, and ASCII values of abc.
Value 7, value of time, results of calling the macro 'mac1'.
ASCII values.
Expression Strings
431