Keil Logo Arm Logo

Cx51 User's Guide

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-small

Keil logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.