-Lasmc: Configure Listing File

Group

OUTPUT

Scope

Function

Syntax
-Lasmc[={a|c|i|s|h|p|e|v|y}]

Arguments

a: Do not write the address

c: Do not write the code

i: Do not write the instruction

s: Do not write the source code

h: Do not write the function header

p: Do not write the source prolog

e: Do not write the source epilog

v: Do not write the compiler version

y: Do not write cycle information

Default

All printed together with the source

Defines

None

Pragmas

None

Description

The -Lasmc option configures the output format of the listing file generated with the -Lasm: Generate Listing File option. The addresses, the hex bytes, and the instructions are selectively switched off.

The format of the listing file has the layout shown in the following listing. The letters in brackets ([]) indicate which suboption may be used to switch it off:

Listing: -Lasm configuration options


[v] ANSI-C/cC++ Compiler V-5.0.1
[v]

[p]    1:

[p]    2:  void foo(void) {

[h]

[h] Function: foo

[h] Source  : C:\Freescale\test.c

[h] Options : -Lasm=%n.lst

[h]

[s]    3:  }

[a]  0000 [c] 3d         [i]  RTS

[e]    4:

[e]    5:  // comments

[e]    6:
Example
-Lasmc=ac