User`s manual

9Writing Script Files
245
9.2.2 Symbols and labels
You can include symbols and labels defined in your target program, or symbols and labels defined
using the Assemble command.
You can include alphanumerics, the underscore (_), period (.), and question mark (?) in symbols
and labels. However, do not start with a numeric.
Symbols and labels can consist of up to 255 characters.
Uppercase and lowercase letters are unique.
Product Name
Notes
The debugger for M32R,
The debugger for M32C,
The debugger for M16C/R8C,
You cannot include the assembler structured instructions, pseudo
instructions, macro instructions, operation code, or reserved words
(.SECTION, .BYTE, switch, if, etc.).
You cannot use strings that start with two periods (..) for symbols
or labels.
9.2.2.1 Local label symbol and scope
This debugger supports both global label symbols, which can be referenced from the whole program
area, and local label symbols, which can only be referenced within the file in which they are declared.
The effective range of local label symbols is known as the scope, which is measured in units of object
files. The scope is switched in this debugger in the following circumstances:
When a command is entered
The object file that includes the address indicated by the program counter becomes the current
scope. When the SCOPE command is used to set the scope, the specified scope is the active scope.
During command execution
The current scope automatically switches depending on the program address being handled by
the command.
9.2.2.2 Priority levels of labels and symbols
The conversion of values to labels or symbols, and vice versa, is subject to the following levels of
priority:
Conversion of address values
1. Local labels
2. Global labels
3. Local symbols
4. Global symbols
5. Local labels outside scope
6. Local symbols outside scope
Conversion of data values
1. Local symbols
2. Global symbols
3. Local labels
4. Global labels
5. Local symbols outside scope
6. Local labels outside scope
Conversion of bit values
1. Local bit symbols
2. Global bit symbols
3. Local bit symbols outside scope