声明:
1、本翻译仅供个人学习使用,本人没有提供技术支持的义务,也不承担由此引发的任何后果。
2、请勿用于商业用途。
3、英文来自:http://www.keil.com/support/man/docs/c51/。
4、欢迎大家共同与我交流探讨(290207203@qq.com)。
OBJECTADVANCED Compiler Directive
Abbreviation | OA | ||||||||||||
Arguments | None. | ||||||||||||
Default | None. | ||||||||||||
µVision | Options — C51 — Code Optimization — Linker Code Packing. | ||||||||||||
Description | The OBJECTADVANCED directive instructs the compiler to include information in the object file for linker-level program optimizations. This directive is used with the OPTIMIZEdirective to shrink program size and decrease execution speed. When enabled, the OBJECTADVANCED directive instructs the LX51 Linker/Locator to perform the following optimizations:
| ||||||||||||
See Also | |||||||||||||
Example | C51 SAMPLE.C OBJECTADVANCE DEBUG |
OBJECTADVANCED 编译器伪指令
缩写 | OA | ||||||||||||
参数 | 无。 | ||||||||||||
缺省 | 无。 | ||||||||||||
µVision | Options — C51 — Code Optimization — Linker Code Packing. | ||||||||||||
描述 | OBJECTADVANCED 伪指令告诉编译器在生成的目标文件中包含链接级的程序优化信息。这个伪指令和OPTIMIZE伪指令一起使用,缩小程序大小,降低执行速度。 当使能, OBJECTADVANCED 伪指令告诉 LX51链接器/定位器实现下面的优化:
| ||||||||||||
参考 | |||||||||||||
示例 | C51 SAMPLE.C OBJECTADVANCE DEBUG |