Keil™, An ARM® Company

C166 User's Guide

Optimizer Options

  • NOALIAS
    Disables alias checking for pointer accesses. The C166 Compiler ignores pointer-write optimizations during the optimization phase. If a register holds a variable, the variable is reused, even when a pointer could modify that variable.
  • NODPPSAVE
    Does not save DPP registers in interrupt function. This directive may be used when the application does not modify the contents of DPP0 and DPP3. In 167 Mode (MOD167 directive), these DPP register are not modified.
  • NOFIXDPP
    Reassigns the DPP registers to allow as much as 64 KBytes space for near variables. Without this directive, the compiler assumes DPP2 is used for user-stack accesses.
  • OPTIMIZE(SIZE)
    Reduces program code by replacing common C operations (such as shift long) with subprograms.
  • STATIC
    Allocates automatic variables in static memory rather than on the user stack. The code is no longer reentrant, but the code size and execution speed improve.