-La: Generate Assembler Include File

Group

OUTPUT

Scope

Function

Syntax
  -La[=<filename>] 
  
Arguments

<filename>: The name of the file to be generated

It may contain special modifiers (refer Using Special Modifiers)

Default

No file created

Defines

None

Pragmas

None

Description

The -La option causes the Compiler to generate an assembler include file when the CREATE_ASM_LISTING pragma occurs. This option specifies the name of the created file. If no name is specified, the compiler takes a default of %f.inc. To put the file into the directory specified by the TEXTPATH: Text File Path environment variable, use the option -la=%n.inc. The %f option already contains the path of the source file. When you use %f, the compiler puts the generated file in the same directory as the source file.

The content of all modifiers refers to the main input file and not to the actual header file. The main input file is the one specified on the command line.

Example

-La=asm.inc

See also

#pragma CREATE_ASM_LISTING: Create an Assembler Include File Listing

TEXTPATH: Text File Path