|
| COMMONRET Compiler Directive| Abbreviation | | CR | | Arguments | | None. | | Default | | None. | | µVision | | Options — C166 — Misc Controls. | | Description | | The COMMONRET directive causes the compiler to generate function code so that each function has exactly one exit point. The effect is that the compiler no longer inserts RET instructions in the middle of a function. This may be useful with third party debugging tools for performance or code coverage analysis. | | Example | |
C166 mycode.c COMMONRET
#pragma COMMONRET
|
|
|