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.
Summary of Contents for Emulator Debugger M16C PC4701
Page 13: ...Setup of Debugger 1...
Page 14: ...Blank Page 2...
Page 73: ...Tutorial 59...
Page 74: ...Blank Page 60...
Page 95: ...Reference 81...
Page 96: ...Blank Page 82...
Page 128: ...Example Writing byte length data 32h to even address 400h 114...
Page 130: ...16 bits bus width 116...
Page 132: ...2nd point 118...
Page 133: ...7 Windows Dialogs 16 bits bus width 119...
Page 134: ...Example Writing data 10h 3Fh to even address 400h 120...
Page 138: ...Example Writing byte length data 32h to even address 400h 124...
Page 140: ...16 bits bus width 126...
Page 141: ...7 Windows Dialogs Example Writing word length data 1234h to even address 400h 127...
Page 142: ...Example Writing data 10h 3Fh to even address 400h 128...
Page 146: ...Example Writing byte length data 32h to even address 400h 132...
Page 147: ...7 Windows Dialogs Example Writing data 10h 3Fh to even address 400h 133...
Page 153: ...7 Windows Dialogs 7 7 8 2 Interrupt Termination Set as below 139...
Page 172: ...For condition 7 choose the Mode shown below and set the Start event 158...
Page 294: ...MEMO 280...