Keil™, An ARM® Company

Cx51 User's Guide

Optimizer Options

  • NOAREGS
    Avoids absolute register addressing in the generated code. Programs generated with this directive are independent of the register bank.
  • NOREGPARMS
    Avoids using registers for function parameters. Parameters are always passed in memory. Program code is compatible with earlier versions of the Keil compiler.
  • OPTIMIZE(SIZE)
    Reduces program code by replacing common C operations (such as shift long) with subprograms.
  • OBJECTADVANCED
    Inludes information in the object module for advanced linker optimizations (from the LX51 Linker only).