Download RX Debug - Renesas Electronics

Transcript
CubeSuite+ V1.01.00
APPENDIX A WINDOW REFERENCE
Note that the output string can only be one line (spaces allowed).
(2) [Variable expression] area
Specify the variable expression(s) for the Printf event.
Type a variable expression directly into the text box (up to 1024 characters).
You can specify up to 10 variable expressions for a single Printf event by separating them with commas (",").
If this dialog box is opened with a variable expression selected in the Editor panel /Disassemble panel, the selected
variable expression appears as the default.
The basic input format that can be specified as variable expressions and the values output by Printf event are as
follows:
Table A-14. Relationship between Variable Expressions and Output Value (Printf Event)
Variable Expression
Output Value
Name of a C/C++ language variable Note 1
Value of a C/C++ language variable
Variable expression [Variable expression]
Element of an array
Variable expression.Member name Note 2
Value of a structure/union/class member
Variable expression -> Member name Note 2
Value of a structure/union/class member that pointer to
Variable expression.*Cast expression
Value of the pointer to a member variable
Variable expression->*Cast expression
Value of the pointer to a member variable
*Variable expression
Value of a pointer variable
&Variable expression
Location address
(Type name) Variable expression
Value cast into a specified type
Name of the CPU register
Value of the CPU register
IOR name
IOR value
Label name Note 3, EQU symbol name Note 3, and
Values of a label, an EQU symbol, and immediate address
[immediate value]
Notes 1.
2.
C89, C99, or C++ language variable
When using a member variable of a base class, specify the scope before the member name (e.g.
variable.BaseClass::member).
3.
If the label name or EQU symbol name includes a "$," be sure to enclose the name in "{ }" (Example:
{$Label}).
Any imaginary number must be multiplied by an uppercase "I" (e.g. 1.0 + 2.0*I). When you specify the
CPU register name "I", add ":REG" (e.g. I:REG) to distinguish it from the keyword "I".
Remark
By holding down [Ctrl]+[Space] keys in this text box, you can complete the symbol name at the present
caret position (see "2.20.2 Symbol name completion function").
R20UT0769EJ0100 Rev.1.00
Oct 01, 2011
Page 331 of 429