Keil™, An ARM® Company

Technical Support

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 08, 2002


Did this article provide the answer you needed?
 
Yes
No
Not Sure