Description |
The MOD517 directive instructs the Cx51 Compiler to produce
code for the additional hardware components (the arithmetic processor
and the additional data pointers) of the Infineon C517 or variants.
This feature improves the performance of integer, long, and
floating-point math operations, as well as functions that make use of
the additional data pointers (memcpy, memmove, memcmp, strcpy, and strcmp).
Library functions that take advantage of the arithmetic processor
have a 517 suffix. Refer to the Library Reference for
details on these functions.)
Additional parameters may be specified with the MOD517
directive to control the Cx51 Compiler support of the individual
components of the Infineon device. When specified, the parameters
must appear within parentheses immediately following the
MOD517 directive. Parentheses are not required if no
additional parameters are specified.
Directive |
Description |
NOAU |
When specified, the Cx51 Compiler uses only the
additional data pointers of the Infineon device. The arithmetic
processor is not used. The NOAU parameter is useful for
functions that are called by an interrupt while the arithmetic
processor is already being used. |
NODP8 |
When specified, the Cx51 Compiler uses only the
arithmetic processor. The additional data pointers are not used.
The NODP8 parameter is useful for interrupt functions
declared without the using function attribute. In this case, the
extra data pointers are not used and, therefore, do not need to
be saved on the stack during the interrupt. |
Specifying both of these additional parameters with MOD517
has the same effect as using the NOMOD517 directive.
Note
|