Skip to main content

IAR Embedded Workbench for Arm 9.70.x

-L

In this section:
Syntax
-L[path]  
Parameters

No parameter

Generates a listing with the same name as the source file, but with the filename extension lst.

path

The path to the destination of the list file. Note that you must not include a space before the path.

Description

By default, the assembler does not generate a list file. Use this option to make the assembler generate one and send it to the file [path]sourcename.lst.

-L cannot be used at the same time as -l.

Example

To send the list file to list\prog.lst rather than the default prog.lst:

iasmarm prog -Llist\ 

Caution

To set related options, select:

Project>Options>Assembler >List