Keil Logo

C166: USING THE STACK FOR ALL LOCAL VARIABLES


Information in this article applies to:

  • C166 All Versions

QUESTION

Is there a way to force the compiler to place all parameters onto the user stack, rather than using registers?

ANSWER

Yes. Use optimizer level 2 and the compiler will not use registers for local variables. Instead, all local variables will be stored on the user stack.

MORE INFORMATION

  • Refer to OPTIMIZE in the C166 User's Guide.

Last Reviewed: Friday, July 15, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  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.