Renesas M16C PC4701 Network Card User Manual


 
9 Writing Script Files
249
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.
The debugger for 740 You cannot use the register name.(A,X,Y,S,PC,PS,P)
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.
.D0 to .D65535, .F0 to .F65535, .I0 to .I56635, .S0
to .S65535, ..0 to ..65535, ??0 to ??65535
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.