Cx51 User's Guide

MODDP2 Compiler Directive

Abbreviation

None.

Arguments

None.

Default

NOMODDP2

µVision

Options — Target — Use multiple DPTR registers.

Description

The MODDP2 directive instructs the compiler to produce code for the additional hardware components (specifically, the additional data pointers) available in the Dallas Semiconductor 80C320, C520, C530, C550, and compatible derivatives. Using additional data pointers improves the performance of the memcpy, memmove, memcmp, strcpy, and strcmp library routines.

See Also

NOMODDP2

Example
C51 SAMPL320.C MODDP2

#pragma moddp2

Related Knowledgebase Articles