MODAMD

Abbreviation

None.

Arguments

MODAMD (DP2)

Default

NOMODAMD

Description

The MODAMD directive instructs the C51 compiler to produce code for the additional hardware components (specifically, the additional CPU data pointers) available in the AMD 80C521 and compatible derivatives. Using additional data pointers can improve the performance of the following library functions: memcpy, memmove, memcmp, strcpy, and strcmp.

NOTE

The MODAMD directive must be specified with the DP2 parameter.

See Also
MOD517, NOMODAMD

Example


#pragma modamd(dp2)