Reference
The remainder of this chapter describes each of the available Cx51 compiler
control directives listed in alphabetical order. They are divided into the
following sections:
Abbreviation: Gives any abbreviations that may be substituted for the
directive name.
Arguments: Describes and lists optional and required directive
arguments.
Default: Shows the directive’s default setting.
μVision2 Control: Lists how to specify the directive.
Description: Provides a detailed description of the directive and how to
use it.
See Also: Names related directives.
Example: Shows you an example of how to use and, sometimes, the
effects of the directive.
DEBUG
Abbreviation: DB
Arguments: None.
Default: No Debug information is generated.
μVision2 Control: Options – Output – Debug Information
Description: The DEBUG directive instructs the compiler to include
debugging information in the object file. By default,
debugging information is excluded from the generated
object file.
Debug information is necessary for the symbolic testing of
programs. This information contains both global and local
variable definitions and their addresses, as well as function
names and their line numbers. Debug information contained
in each object module remains valid through the
Link/Locate procedure. This information may be used by
the μVision2 debugger or by any of the Intel-compatible
emulators.
See Also: OBJECTEXTEND
Example: C51 SAMPLE.C DEBUG
#pragma db
'나머지 > IT개발.잡다한것.' 카테고리의 다른 글
db, dw, equ에 대해 자세히나와있는 사이트 [어셈블리어 강좌?], "dscr.a51" (0) | 2012.09.27 |
---|---|
usb boot, 0xc0, RSEG, SEGMENT (0) | 2012.09.27 |
DWORD and WORD (0) | 2012.09.27 |
glue logic psen, read signal (1) | 2012.09.26 |
Assembler Directives 와 LEDCycle 예제 (1) | 2012.09.25 |