Table of Contents
Using as
1 Overview
2 Command-Line Options
.include
Search Path: -I
path
3 Syntax
4 Sections and Relocation
5 Symbols
6 Expressions
7 Assembler Directives
.abort
.ABORT
(COFF) .align
abs-expr
,
abs-expr
,
abs-expr
.ascii "
string
"
...
.asciz "
string
"
...
.balign[wl]
abs-expr
,
abs-expr
,
abs-expr
.byte
expressions
.comm
symbol
,
length
.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
.file
fileno
filename
.loc
fileno
lineno
[
column
] [
options
]
.loc_mark_labels
enable
.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
string
.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
]
.ln
line-number
.mri
val
.list
.long
expressions
.macro
.altmacro
.noaltmacro
.nolist
.octa
bignums
.org
new-lc
,
fill
.p2align[wl]
abs-expr
,
abs-expr
,
abs-expr
.previous
.popsection
.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
.sleb128
expressions
.skip
size
,
fill
.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
8 Object Attributes
9 Machine Dependent Features
10 Reporting Bugs
11 Acknowledgements
Appendix A GNU Free Documentation License
AS Index
This file is a user guide to the gnu assembler as (GNU Binutils) version 2.19.
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”.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.