Keil Logo

PRINT Assembler Directive

Abbreviation

PR

Arguments

PRINT 〚(filename)〛

Default

A listing file (with the source file base name and .LST extension) is generated.

µVision

Options — Listing — Select Folder for Listings.

Description

The PRINT directive causes the assembler to generate a listing file. By default, the assembler creates a listing file using the name and path of the source file and the .LST extension. The filename, if specified, specifies the name of the generated listing file.

See Also

NOPRINT

Example
A51 SAMPLE.ASM PRINT(C:\LIST\SAMPLE.LST)

$PR(C:\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.