www.delorie.com/gnu/docs/binutils/as_16.html   search  
Buy GNU books!

Using as

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.7 Configuring listing output: `--listing'

The listing feature of the assembler can be enabled via the command line switch `-a' (see section 2.1 Enable Listings: `-a[cdhlns]'). This feature combines the input source file(s) with a hex dump of the corresponding locations in the output object file, and displays them as a listing file. The format of this listing can be controlled by pseudo ops inside the assembler source (see section 7.48 .list see section 7.83 .title "heading" see section 7.64 .sbttl "subheading" see section 7.59 .psize lines , columns see section 7.14 .eject) and also by the following switches:

Sets the maximum width, in words, of the first line of the hex byte dump. This dump appears on the left hand side of the listing output.

Sets the maximum width, in words, of any further lines of the hex byte dump for a given inut source line. If this value is not specified, it defaults to being the same as the value specified for `--listing-lhs-width'. If neither switch is used the default is to one.

Sets the maximum width, in characters, of the source line that is displayed alongside the hex dump. The default value for this parameter is 100. The source line is displayed on the right hand side of the listing output.

Sets the maximum number of continuation lines of hex dump that will be displayed for a given single line of source input. The default value is 4.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003