-Lasms: Configure the address size in the listing file

Group

Output

Scope

Assembly unit

Syntax
  -Lasms{1|2|3|4}
  
  
Arguments

1 - The address size is xx

2 - The address size is xxxx

3 - The address size is xxxxxx

4 - The address size is xxxxxxxx

Default
  -Lasms3
  
  
Description

The default-configured listing file shows a lot of information. With this option, the size of the address column can be reduced to the size of interest. To configure which columns are printed, see the -Lasmc: Configure listing file option. To configure which lines to print, see the -Lc: No Macro call in listing file, -Ld: No macro definition in listing file, -Le: No Macro expansion in listing file, and -Li: No included file in listing file assembler options.

Example

For the following instruction:

   NOP
  

the Assembler generates this default-configured output listing as listed below:

Listing: Example assembler output listing

 Abs. Rel.   Loc    Obj. code   Source line
 ---- ----   ------ ---------   -----------

    1    1   000000 XX                NOP

In order to change the size of the address column the following option is added:

-Lasms1. This changes the address size to two digits.

Listing: Example assembler output listing configured with -Lasms1

 Abs. Rel.   Loc    Obj. code   Source line
 ---- ----   ------ ---------   -----------

    1    1   00     XX                NOP
See also

Assembler Listing File chapter

Assembler options: