GNUPro Toolkit Documentation|Index|Next

Using AS
The GNU Assembler

    Copyright © 1991, 1992, 1993, 1994, 1995, 1996, 1997  Free Software Foundation, Inc.

    Permission is granted to make and distribute verbatim copies of this documentation
    provided the copyright notice and this permission notice are preserved on all copies.

    Permission is granted to copy and distribute modified versions of this documentation
    under the conditions for verbatim copying, provided also that the entire resulting
    derived work is distributed under the terms of a permission notice identical to this one.

    Permission is granted to copy and distribute translations of this documentation
    into another language, under the above conditions for modified versions.

    The Free Software Foundation Inc. thanks The Nice Computer Company of Australia
    for loaning Dean Elsner to write the first (Vax) version of as for Project GNU .
    The proprietors, management and staff of TNCCA thank FSF for distracting the
    boss while they got some work done.

    Copyright © 1993, 1994, 1995, 1996, 1997  Cygnus Solutions. All rights reserved.

    GNUPro™ is a trademark of Cygnus Solutions. All other brand and product names
    are trademarks of their respective owners.

    This documentation has been prepared by Cygnus Technical Publications;
    contact the Cygnus Solutions Technical Publications staff: doc@cygnus.com.

The following documentation discusses the GNU assembler, as.

- Overview of as, the GNU Assembler

- Structure of this documentation
- as, the GNU Assembler
- Object File Formats
- Command Line
- Input Files
- Output (Object) File
- Error and Warning Messages

- Command-Line Options

- Enable Listings: -a[dhlns]
- -D
- Work Faster: -f
- .include search path: -I path
- Difference Tables: -K
- Include Local Labels: -L
- Assemble in MRI Compatibility Mode: -M
- Name the Object File: -o
- Join Data and Text Sections: -R
- Display Assembly Statistics: --statistics
- Announce Version: -v
- Suppress Warnings: -W
- Generate Object File in Spite of Errors: -Z

- Syntax

- Preprocessing
- Whitespace
- Comments
- Symbols
- Statements
- Constants

- Character Constants
- Number Constants

- Sections and Relocation

- ld Sections
- as Internal Sections
- Sub-Sections
- bss Section

- Symbols in as

- Labels
- Giving Symbols Other Values
- Symbol Names
- The Special Dot Symbol
- Symbol Attributes

- Value
- Type
- Symbol Attributes: a.out
- Symbol Attributes for COFF
- Symbol Attributes for SOM

- Expressions

- Empty Expressions
- Integer Expressions

- Arguments
- Operators
- Prefix Operator
- Infix Operators

- Assembler Directives
- Machine Dependent Features

- VAX Dependent Features
- AMD 29K Dependent Features
- H8/300 Dependent Features
- H8/500 Dependent Features
- HPPA Dependent Features
- Hitachi SH Dependent Features
- Intel 960 Dependent Features
- M680x0 Dependent Features
- SPARC Dependent Features
- 80386 Dependent Features
- Z8000 Dependent Features
- MIPS Dependent Features

- Acknowledgements
- Index