Keil Logo

NOCOMMENTS Linker Directive

Abbreviation

NOCM

Arguments

None.

Default

Comments from the input files are included in the map file and output file.

µVision

Options — L251 Misc — Misc Controls.

Description

The NOCOMMENTS directive excludes comment records (from the input files) from the listing file and output object file. Comment records are added to object modules by the assembler and compiler for identification purposes.

To exclude comment information from the listing file only you must use the PRINTCONTROLS directive.

See Also

NOLINES, NOPUBLICS, NOSYMBOLS, NOTYPE, OBJECTCONTROLS, PRINTCONTROLS, PURGE

Example
L251 file1.obj NOCOMMENTS
  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.