Keil Logo

MOD167 Compiler Directive

Abbreviation

M167

Arguments

None.

Default

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

µVision

Options — C166 — Misc Controls.

Description

The MOD167 directive instructs the compiler to generate code using the enhanced C167 instruction set. Among other things, this instruction set has new instructions that more efficiently allow access to far and huge objects. For this reason, the COMPACT and LARGE memory models are best suited for C166 (80C166) microcontrollers while the HCOMPACT, HLARGE, and XLARGE memory models are better suited for C167 and compatible devices.

See Also

COMPACT, HCOMPACT, HLARGE, LARGE, MODV2, XLARGE

Example
C166 SAMPL1667.C MOD167

#pragma MOD167
  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.