Keil™, An ARM® Company

Ax51 User's Guide

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)