Keil Logo Arm Logo

C166 User's Guide

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

Keil logo

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.