Gas Manual
User Manual:
Open the PDF directly: View PDF
Page Count: 348 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- Overview
- Command-Line Options
- Enable Listings: -a[cdghlns]
- --alternate
- -D
- Work Faster: -f
- .include Search Path: -I path
- Difference Tables: -K
- Include Local Symbols: -L
- Configuring listing output: --listing
- Assemble in MRI Compatibility Mode: -M
- Dependency Tracking: --MD
- Name the Object File: -o
- Join Data and Text Sections: -R
- Display Assembly Statistics: --statistics
- Compatible Output: --traditional-format
- Announce Version: -v
- Control Warnings: -W, --warn, --no-warn, --fatal-warnings
- Generate Object File in Spite of Errors: -Z
- Syntax
- Sections and Relocation
- Symbols
- Expressions
- Assembler Directives
- .abort
- .ABORT (COFF)
- .align abs-expr, abs-expr, abs-expr
- .altmacro
- .ascii "string"...{}
- .asciz "string"...{}
- .balign[wl] abs-expr, abs-expr, abs-expr
- .byte expressions
- .cfi_sections section_list
- .cfi_startproc [simple]
- .cfi_endproc
- .cfi_personality encoding [, exp]
- .cfi_lsda encoding [, exp]
- .cfi_def_cfa register, offset
- .cfi_def_cfa_register register
- .cfi_def_cfa_offset offset
- .cfi_adjust_cfa_offset offset
- .cfi_offset register, offset
- .cfi_rel_offset register, offset
- .cfi_register register1, register2
- .cfi_restore register
- .cfi_undefined register
- .cfi_same_value register
- .cfi_remember_state,
- .cfi_return_column register
- .cfi_signal_frame
- .cfi_window_save
- .cfi_escape expression[, ...{}]
- .cfi_val_encoded_addr register, encoding, label
- .comm symbol , length
- .data subsection
- .def name
- .desc symbol, abs-expression
- .dim
- .double flonums
- .eject
- .else
- .elseif
- .end
- .endef
- .endfunc
- .endif
- .equ symbol, expression
- .equiv symbol, expression
- .eqv symbol, expression
- .err
- .error "string"
- .exitm
- .extern
- .fail expression
- .file
- .fill repeat , size , value
- .float flonums
- .func name[,label]
- .global symbol, .globl symbol
- .gnu_attribute tag,value
- .hidden names
- .hword expressions
- .ident
- .if absolute expression
- .incbin "file"[,skip[,count]]
- .include "file"
- .int expressions
- .internal names
- .irp symbol,values...{}
- .irpc symbol,values...{}
- .lcomm symbol , length
- .lflags
- .line line-number
- .linkonce [type]
- .list
- .ln line-number
- .loc fileno lineno [column] [options]
- .loc_mark_labels enable
- .local names
- .long expressions
- .macro
- .mri val
- .noaltmacro
- .nolist
- .octa bignums
- .offset loc
- .org new-lc , fill
- .p2align[wl] abs-expr, abs-expr, abs-expr
- .popsection
- .previous
- .print string
- .protected names
- .psize lines , columns
- .purgem name
- .pushsection name [, subsection] [, "flags"[, @type[,arguments]]]
- .quad bignums
- .reloc offset, reloc_name[, expression]
- .rept count
- .sbttl "subheading"
- .scl class
- .section name
- .set symbol, expression
- .short expressions
- .single flonums
- .size
- .skip size , fill
- .sleb128 expressions
- .space size , fill
- .stabd, .stabn, .stabs
- .string "str", .string8 "str", .string16
- .struct expression
- .subsection name
- .symver
- .tag structname
- .text subsection
- .title "heading"
- .type
- .uleb128 expressions
- .val addr
- .version "string"
- .vtable_entry table, offset
- .vtable_inherit child, parent
- .warning "string"
- .weak names
- .weakref alias, target
- .word expressions
- Deprecated Directives
- Object Attributes
- Machine Dependent Features
- Alpha Dependent Features
- ARC Dependent Features
- ARM Dependent Features
- AVR Dependent Features
- Blackfin Dependent Features
- CR16 Dependent Features
- CRIS Dependent Features
- D10V Dependent Features
- D30V Dependent Features
- H8/300 Dependent Features
- HPPA Dependent Features
- ESA/390 Dependent Features
- 80386 Dependent Features
- Options
- x86 specific Directives
- i386 Syntactical Considerations
- Instruction Naming
- AT&T Mnemonic versus Intel Mnemonic
- Register Naming
- Instruction Prefixes
- Memory References
- Handling of Jump Instructions
- Floating Point
- Intel's MMX and AMD's 3DNow! SIMD Operations
- AMD's Lightweight Profiling Instructions
- Bit Manipulation Instructions
- AMD's Trailing Bit Manipulation Instructions
- Writing 16-bit Code
- AT&T Syntax bugs
- Specifying CPU Architecture
- Notes
- Intel i860 Dependent Features
- Intel 80960 Dependent Features
- IA-64 Dependent Features
- IP2K Dependent Features
- LM32 Dependent Features
- M32C Dependent Features
- M32R Dependent Features
- M680x0 Dependent Features
- M68HC11 and M68HC12 Dependent Features
- MicroBlaze Dependent Features
- MIPS Dependent Features
- Assembler options
- MIPS ECOFF object code
- Directives for debugging information
- Directives to override the size of symbols
- Directives to override the ISA level
- Directives for extending MIPS 16 bit instructions
- Directive to mark data as an instruction
- Directives to save and restore options
- Directives to control generation of MIPS ASE instructions
- Directives to override floating-point options
- Syntactical considerations for the MIPS assembler
- MMIX Dependent Features
- MSP 430 Dependent Features
- NS32K Dependent Features
- PDP-11 Dependent Features
- picoJava Dependent Features
- PowerPC Dependent Features
- RX Dependent Features
- IBM S/390 Dependent Features
- SCORE Dependent Features
- Renesas / SuperH SH Dependent Features
- SuperH SH64 Dependent Features
- SPARC Dependent Features
- TIC54X Dependent Features
- TIC6X Dependent Features
- TILE-Gx Dependent Features
- TILEPro Dependent Features
- Z80 Dependent Features
- Z8000 Dependent Features
- VAX Dependent Features
- v850 Dependent Features
- XStormy16 Dependent Features
- Xtensa Dependent Features
- Reporting Bugs
- Acknowledgements
- GNU Free Documentation License
- AS Index