Keil Logo

Line Numbers

Line numbers enable source-level debugging and are produced by the compiler or assembler. The line number specifies the physical address in the source module of the associated program code. Since a line number represents a code address, µVision3 lets you use in an expression. The syntax for a line number is shown in the following table.

Line Number Symbol Code Address ...
\LineNumber ... for line number LineNumber in the current module.
\ModuleName\LineNumber ... for line number LineNumber in ModuleName.
Example
\measure\108                               /* Line 108 in module MEASURE */
\143                                       /* Line 143 in the current module */
  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.