C166 User's Guide

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