Keil Logo

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).

Related Knowledgebase Articles

  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.