|
|||||||||||
|
Technical Support On-Line Manuals Cx51 User's Guide |
Cx51 User's GuideCast/Evatronix Dual DPTREvatronix/CAST provides 8051 cores with dual data pointers. Using multiple data pointers can improve the speed of library functions like memcpy, memmove, memcmp, strcpy, and strcmp. These cores are used by several silicon vendors such as Nordic Semiconductors. The MODC2 directive instructs the Cx51 Compiler to generate code that uses both data pointers in your program. The Cx51 Compiler uses at least one data pointer in an interrupt function. If an interrupt function is compiled using the MODC2 directive, both data pointers are saved on the stack - this happens even if the interrupt function uses only one data pointer. To conserve stack space, you may compile interrupt functions with the NOMODC2 directive to prevent the Cx51 Compiler from using the second data pointer. | ||||||||||
|
|||||||||||