Cx51 User's Guide

MODH2 Compiler Directive

Abbreviation

None.

Arguments

None.

Default

Dual data pointers are not used.

µVision

Options — Target — Use multiple DPTR registers.

Description

The MODH2 directive instructs the compiler to produce code for the additional hardware components (specifically, the additional data pointers) available in several Hynix and ST uPSD 33xx and 34xx devices. Using additional data pointers improves the performance of the memcpy, memmove, memcmp, strcpy, and strcmp library routines.

See Also

NOMODH2

Example
C51 SAMPLE.C MODH2

#pragma modh2