Download 78K0 Coding - Renesas Electronics

Transcript
CubeSuite+ V1.01.00
CHAPTER 4 ASSEMBLY LANGUAGE SPECIFICATIONS
DEBUG
Adds local symbol information in the object module file.
[Description Format]
[ ]$[ ]DEBUG
; Default assumption
[ ]$[ ]DG
; Abbreviated format
[Function]
- The DEBUG control instruction tells the assembler to add local symbol information to an object module file.
- The NODEBUG control instruction tells the assembler not to add local symbol information to an object module file.
However, in this case as well, the segment name is output to an object module file.
[Use]
- Use the DEBUG control instruction when symbolic debugging including local symbols is to be performed.
[Description]
- The DEBUG or NODEBUG control instruction can be described only in the header section of a source module file.
- If the DEBUG or NODEBUG control instruction is omitted, the assembler will assume that the DEBUG control
instruction has been specified.
- If two or more of these control instructions are specified, the last specified control instruction takes precedence
over the others.
- The addition of local symbol information can be specified using the assembler option (-g/-ng) in the startup command line.
- If the control instruction specification in the source module file differs from the specification in the startup command
line, the specification in the command line takes precedence.
- Even when the assembler option (-ng) has been specified, the assembler performs a syntax check on the DEBUG
or NODEBUG control instruction.
R20UT0782EJ0100 Rev.1.00
Oct 01, 2011
Page 376 of 836