1 1 7 Assembler Directives 1 ********************** 1 1 All assembler directives have names that begin with a period ('.'). The 1 names are case insensitive for most targets, and usually written in 1 lower case. 1 1 This chapter discusses directives that are available regardless of 1 the target machine configuration for the GNU assembler. Some machine 11 configurations provide additional directives. ⇒Machine Dependencies. 1
1 · Abort '.abort' · ABORT (COFF) '.ABORT' 1 · Align '.align ABS-EXPR , ABS-EXPR' · Altmacro '.altmacro' · Ascii '.ascii "STRING"'... · Asciz '.asciz "STRING"'... · Attach_to_group '.attach_to_group NAME' · Balign '.balign ABS-EXPR , ABS-EXPR' · Bundle directives '.bundle_align_mode ABS-EXPR', etc · Byte '.byte EXPRESSIONS' · CFI directives '.cfi_startproc [simple]', '.cfi_endproc', etc. · Comm '.comm SYMBOL , LENGTH ' · Data '.data SUBSECTION' · Def '.def NAME' · Desc '.desc SYMBOL, ABS-EXPRESSION' · Dim '.dim' 1 · Double '.double FLONUMS' · Eject '.eject' · Else '.else' · Elseif '.elseif' · End '.end' · Endef '.endef' 1 · Endfunc '.endfunc' · Endif '.endif' · Equ '.equ SYMBOL, EXPRESSION' · Equiv '.equiv SYMBOL, EXPRESSION' · Eqv '.eqv SYMBOL, EXPRESSION' · Err '.err' · Error '.error STRING' · Exitm '.exitm' · Extern '.extern' · Fail '.fail' · File '.file' · Fill '.fill REPEAT , SIZE , VALUE' · Float '.float FLONUMS' · Func '.func' · Global '.global SYMBOL', '.globl SYMBOL' · Gnu_attribute '.gnu_attribute TAG,VALUE' · Hidden '.hidden NAMES' 1 · hword '.hword EXPRESSIONS' · Ident '.ident' · If '.if ABSOLUTE EXPRESSION' · Incbin '.incbin "FILE"[,SKIP[,COUNT]]' · Include '.include "FILE"' · Int '.int EXPRESSIONS' · Internal '.internal NAMES' 1 · Irp '.irp SYMBOL,VALUES'... · Irpc '.irpc SYMBOL,VALUES'... · Lcomm '.lcomm SYMBOL , LENGTH' · Lflags '.lflags' · Line '.line LINE-NUMBER' 1 · Linkonce '.linkonce [TYPE]' · List '.list' · Ln '.ln LINE-NUMBER' · Loc '.loc FILENO LINENO' · Loc_mark_labels '.loc_mark_labels ENABLE' · Local '.local NAMES' 1 · Long '.long EXPRESSIONS' 1 · Macro '.macro NAME ARGS'... · MRI '.mri VAL' · Noaltmacro '.noaltmacro' · Nolist '.nolist' · Octa '.octa BIGNUMS' · Offset '.offset LOC' · Org '.org NEW-LC, FILL' · P2align '.p2align ABS-EXPR, ABS-EXPR, ABS-EXPR' · PopSection '.popsection' · Previous '.previous' 1 · Print '.print STRING' · Protected '.protected NAMES' 1 · Psize '.psize LINES, COLUMNS' · Purgem '.purgem NAME' · PushSection '.pushsection NAME' 1 · Quad '.quad BIGNUMS' · Reloc '.reloc OFFSET, RELOC_NAME[, EXPRESSION]' · Rept '.rept COUNT' · Sbttl '.sbttl "SUBHEADING"' · Scl '.scl CLASS' · Section '.section NAME[, FLAGS]' 1 · Set '.set SYMBOL, EXPRESSION' · Short '.short EXPRESSIONS' · Single '.single FLONUMS' · Size '.size [NAME , EXPRESSION]' · Skip '.skip SIZE , FILL' 1 · Sleb128 '.sleb128 EXPRESSIONS' · Space '.space SIZE , FILL' · Stab '.stabd, .stabn, .stabs' 1 · String '.string "STR"', '.string8 "STR"', '.string16 "STR"', '.string32 "STR"', '.string64 "STR"' · Struct '.struct EXPRESSION' · SubSection '.subsection' · Symver '.symver NAME,NAME2@NODENAME' 1 · Tag '.tag STRUCTNAME' 1 · Text '.text SUBSECTION' · Title '.title "HEADING"' · Type '.type <INT | NAME , TYPE DESCRIPTION>' 1 · Uleb128 '.uleb128 EXPRESSIONS' · Val '.val ADDR' 1 · Version '.version "STRING"' · VTableEntry '.vtable_entry TABLE, OFFSET' · VTableInherit '.vtable_inherit CHILD, PARENT' 1 · Warning '.warning STRING' · Weak '.weak NAMES' · Weakref '.weakref ALIAS, SYMBOL' · Word '.word EXPRESSIONS' · Zero '.zero SIZE' · 2byte '.2byte EXPRESSIONS' · 4byte '.4byte EXPRESSIONS' · 8byte '.8byte BIGNUMS' · Deprecated Deprecated Directives 1