www.delorie.com/gnu/docs/binutils/as_68.html   search  
 
Buy GNU books!


Using as

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7. Assembler Directives

All assembler directives have names that begin with a period (`.'). The rest of the name is letters, usually in lower case.

This chapter discusses directives that are available regardless of the target machine configuration for the GNU assembler. Some machine configurations provide additional directives. See section 8. Machine Dependent Features.

7.1 .abort  
7.2 .ABORT  

7.3 .align abs-expr, abs-expr, abs-expr  .align abs-expr , abs-expr
7.4 .ascii "string"...  
7.5 .asciz "string"...  
7.6 .balign[wl] abs-expr, abs-expr, abs-expr  .balign abs-expr , abs-expr
7.7 .byte expressions  
7.8 .comm symbol , length   
7.9 .data subsection  
7.10 .def name  
7.11 .desc symbol, abs-expression  
7.12 .dim  

7.13 .double flonums  
7.14 .eject  
7.15 .else  
7.16 .elseif  
7.17 .end  
7.18 .endef  

7.19 .endfunc  
7.20 .endif  
7.21 .equ symbol, expression  
7.22 .equiv symbol, expression  
7.23 .err  
7.24 .exitm  
7.25 .extern  
7.26 .fail expression  .fail
7.27 .file string  

7.28 .fill repeat , size , value  
7.29 .float flonums  
7.30 .func name[,label]  .func
7.31 .global symbol, .globl symbol  
7.32 .hidden names  

7.33 .hword expressions  
7.34 .ident  
7.35 .if absolute expression  
7.36 .incbin "file"[,skip[,count]]  
7.37 .include "file"  
7.38 .int expressions  
7.39 .internal names  

7.40 .irp symbol,values...  
7.41 .irpc symbol,values...  
7.42 .lcomm symbol , length  
7.43 .lflags  
7.44 .line line-number  

7.46 .ln line-number  
7.45 .linkonce [type]  
7.48 .list  
7.49 .long expressions  

7.50 .macro  .macro name args...
7.47 .mri val  
7.51 .nolist  
7.52 .octa bignums  
7.53 .org new-lc , fill  
7.54 .p2align[wl] abs-expr, abs-expr, abs-expr  .p2align abs-expr , abs-expr
7.56 .popsection  
7.55 .previous  

7.57 .print string  
7.58 .protected names  

7.59 .psize lines , columns  
7.60 .purgem name  
7.61 .pushsection name , subsection  .pushsection name

7.62 .quad bignums  
7.63 .rept count  
7.64 .sbttl "subheading"  
7.65 .scl class  
7.66 .section name (COFF version)  .section name, subsection

7.68 .set symbol, expression  
7.69 .short expressions  
7.70 .single flonums  
7.71 .size (COFF version)  .size [name , expression]
7.74 .skip size , fill  
7.73 .sleb128 expressions  
7.75 .space size , fill  
7.76 .stabd, .stabn, .stabs  

7.77 .string "str"  .string "str"
7.78 .struct expression  
7.79 .subsection name  .subsection
7.80 .symver  .symver name,name2@nodename

7.81 .tag structname  

7.82 .text subsection  
7.83 .title "heading"  
7.84 .type int (COFF version)  .type <int | name , type description>
7.86 .uleb128 expressions  
7.87 .val addr  

7.88 .version "string"  
7.89 .vtable_entry table, offset  
7.90 .vtable_inherit child, parent  
7.91 .weak names  

7.92 .word expressions  
7.93 Deprecated Directives  


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003