Keil™, An ARM® Company

C166 User's Guide

FIX166 Compiler Directive

Abbreviation None.
Arguments None.
Default None.
µVision Options — C166 — Misc Controls.
Description 

The FIX166 directive is required to resolve problem A17 of the 80C166 CA step (typically the bond-out version of the 80C166) or the GOLD chip based on this chip version.

When the FIX166 directive is used, the following instructions are inserted before each RETI instruction:

BFLDH PSW, #0F0h, #0F0h
NOP
NOP
See Also   FIX167, FIXBFLD, FIXPEC
Example  
#pragma FIX166