声明:
1、本翻译仅供个人学习使用,本人没有提供技术支持的义务,也不承担由此引发的任何后果。
2、请勿用于商业用途。
3、英文来自:http://www.keil.com/support/man/docs/c51/。
4、欢迎大家共同与我交流探讨(290207203@qq.com)。
NOMODC2 Compiler Directive
| Abbreviation | None. |
| Arguments | None. |
| Default | Dual data pointers are not used. |
| µVision | Options — Target — Use multiple DPTR registers. |
| Description | The NOMODC2 directive disables additional data pointer support. The compiler does not use dual data pointers in the following library routines: memcpy, memmove, memcmp,strcpy, and strcmp. |
| See Also | |
| Example | C51 SAMPLE.C NOMODC2 #pragma nomodc2 |
NOMODC2 编译器伪指令
| 缩写 | 无。 |
| 参数 | 无。 |
| 缺省 | 双数据指针未使用。 |
| µVision | Options — Target — Use multiple DPTR registers. |
| 描述 | NOMODC2 伪指令禁止附加的数据指针支持。编译器对下面的库函数 memcpy, memmove, memcmp,strcpy, 和 strcmp不使用双数据指针。 |
| 参考 | |
| 示例 | C51 SAMPLE.C NOMODC2 #pragma nomodc2 |
NOMODC2伪指令详解
本文介绍了NOMODC2伪指令的功能与用法,该指令用于禁用编译器在某些库函数中使用双数据指针,如memcpy等。文章还提供了使用示例。

被折叠的 条评论
为什么被折叠?



