This file is a user guide to the GNU assembler as
(GNU Binutils)
version 2.42.
This document is distributed under the terms of the GNU Free Documentation License. A copy of the license is included in the section entitled “GNU Free Documentation License”.
.include
Search Path: -I path.abort
.ABORT
(COFF).align [abs-expr[, abs-expr[, abs-expr]]]
.altmacro
.ascii "string"
….asciz "string"
….attach_to_group name
.balign[wl] [abs-expr[, abs-expr[, abs-expr]]]
.bss subsection
.byte expressions
.cfi_sections section_list
.cfi_startproc [simple]
.cfi_endproc
.cfi_personality encoding [, exp]
.cfi_personality_id id
.cfi_fde_data [opcode1 [, …]]
.cfi_lsda encoding [, exp]
.cfi_inline_lsda
[align].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_val_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
and .cfi_restore_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
.dc[size] expressions
.dcb[size] number [,fill]
.ds[size] number [,fill]
.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
.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
.nop [size]
.nops size[, control]
.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 expressions
.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"
.tls_common symbol, length[, alignment]
.type
.uleb128 expressions
.val addr
.version "string"
.vtable_entry table, offset
.vtable_inherit child, parent
.warning "string"
.weak names
.weakref alias, target
.word expressions
.zero size
.2byte expression [, expression]*
.4byte expression [, expression]*
.8byte expression [, expression]*