Keil Logo

NOCOND Compiler Directive

Abbreviation

NOCO

Arguments

None.

Default

COND

µVision

Options — Listing — C Compiler Listing — Conditional.

Description

The NOCOND directive excludes lines omitted from compilation from the listing file.

See Also

COND

Example

The following example shows the listing file for a source file compiled with the NOCOND directive:

.
.
.
stmt level  source
   1        extern unsigned char  a, b;
   2               unsigned char     c;
   3
   4        main()
   5        {
   6   1    #if defined (VAX)
   9   1      b = 14;
  10   1      a = 15;
  11   1    #endif
  12   1    }
.
.
.
  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.