Keil Logo

MODV2 Compiler Directive

Abbreviation

None.

Arguments

None.

Default

The C166 Compiler uses the original C166 (80C166) instruction set.

µVision

Options — C166 — Misc Controls.

Description

The MODV2 directive instructs the compiler to generate code using the enhanced XC16x/XE16x/XC2000 instruction set. These devices support a new MAC unit that may be used to get increased performance of multiplication, multiply and accumulate, and memory move operations. MAC instructions can be also used with the Extended Inline Assembly feature of the C166 Compiler.

See Also

MAC, MOD167

Example
C166 XCSAMPLE.C MODV2

#pragma MODV2
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.