Keil Logo

C166: COMMONRET DIRECTIVE


Information in this article applies to:

  • C166 Version 4.10a

QUESTION

What does the COMMONRET directive do?

ANSWER

The COMMONRET directs the compiler to generate code so functions have exactly one exit point. The effect is that the compiler no longer inserts RET instructions in the middle of a function.

The abbreviation for the COMMONRET directive is CR.

SEE ALSO

Last Reviewed: Monday, April 8, 2002


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.