Keil™, An ARM® Company

Cx51 User's Guide

OBJECTEXTEND Compiler Directive

Abbreviation OE
Arguments None.
Default None.
µVision Options — Output — Debug Information.
Description 

The OBJECTEXTEND directive instructs the compiler to include additional variable-type, definition information in the generated object file. This additional information is used to identify objects within different scopes that have the same names so that they may be correctly differentiated by various emulators and simulators.

Note

  • Object files generated using this directive contain a superset of the OMF-51 specification for relocatable object formats. Emulators or simulators must provide enhanced object loaders to use this feature. If in doubt, do not use OBJECTEXTEND.
See Also DEBUG
Example 
C51 SAMPLE.C OBJECTEXTEND DEBUG

#pragma oe db