Keil Logo

PRINT Compiler Directive

Abbreviation

PR

Arguments

An optional filename enclosed in parentheses.

Default

PRINT (filename.LST)

µVision

Options — Listing — Select Folder for List Files.

Description

The PRINT directive specifies the filename of the listing file. By default, the listing file created is named using the source file name and the .LST file extension.

For an example of the listing file output, refer to the Listing File description.

See Also

NOPRINT, TABS

Example
C51 SAMPLE.C PRINT(CON:)

#pragma pr (\usr\list\sample.lst)
  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.