본문 바로가기
나머지/IT개발.잡다한것.

db Cx51 Compiler User's Guide Keil Software

by 무늬만학생 2012. 9. 27.
반응형

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

반응형

댓글0