Renesas Technology, Tools FAQs
Document Number: 01050962_e
Q.
How can I obtain the address for the static variable in PD30?
A.
Use the following process to obtain the static variable value.
Execute the program to where the static variable is scoped.1.
Open the Script window and execute the print command. For example, when the variable is declared as "static char s_char;"
execute "print &s_char".
2.
The address value will then be displayed. In the above example, "(char &) &s_char = 0x424" will be displayed. In this case,
the s_char address value will be 424H.
3.
C Watch Window can also be used without Script Window. To achieve the same results, open C Watch Window and register
"&s_char" to the watch point in the second step of the above process.
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Comentarios a estos manuales