Cx51 User's Guide

MODC2 Compiler Directive

Abbreviation

None.

Arguments

None.

Default

Dual data pointers are not used.

µVision

Options — Target — Use multiple DPTR registers.

Description

The MODC2 directive enables use of dual data pointers available on the Cast and Evatronix R80515 cores. Using additional data pointers improves the performance of the following library functions: memcpy, memmove, memcmp, strcpy, and strcmp.

See Also

NOMODC2

Example
C51 SAMPLE.C MODC2

#pragma modc2