2 @c Free Software Foundation, Inc.
3 @c This is part of the GAS manual.
4 @c For copying conditions, see the file as.texinfo.
7 @node MicroBlaze-Dependent
8 @chapter MicroBlaze Dependent Features
11 @node Machine Dependencies
12 @chapter MicroBlaze Dependent Features
15 @cindex MicroBlaze architectures
16 The Xilinx MicroBlaze processor family includes several variants, all using
17 the same core instruction set. This chapter covers features of the @sc{gnu}
18 assembler that are specific to the MicroBlaze architecture. For details about
19 the MicroBlaze instruction set, please see the @cite{MicroBlaze Processor
20 Reference Guide (UG081)} available at www.xilinx.com.
22 @cindex MicroBlaze support
24 * MicroBlaze Directives:: Directives for MicroBlaze Processors.
27 @node MicroBlaze Directives
29 @cindex MicroBlaze directives
30 A number of assembler directives are available for MicroBlaze.
33 @item .data8 @var{expression},...
34 This directive is an alias for @code{.byte}. Each expression is assembled
35 into an eight-bit value.
37 @item .data16 @var{expression},...
38 This directive is an alias for @code{.hword}. Each expression is assembled
41 @item .data32 @var{expression},...
42 This directive is an alias for @code{.word}. Each expression is assembled
45 @item .ent @var{name}[,@var{label}]
46 This directive is an alias for @code{.func} denoting the start of function
47 @var{name} at (optional) @var{label}.
49 @item .end @var{name}[,@var{label}]
50 This directive is an alias for @code{.endfunc} denoting the end of function
53 @item .gpword @var{label},...
54 This directive is an alias for @code{.rva}. The resolved address of @var{label}
55 is stored in the data section.
57 @item .weakext @var{label}
58 Declare that @var{label} is a weak external symbol.
61 Switch to .rodata section. Equivalent to @code{.section .rodata}
64 Switch to .sdata2 section. Equivalent to @code{.section .sdata2}
67 Switch to .sdata section. Equivalent to @code{.section .sdata}
70 Switch to .bss section. Equivalent to @code{.section .bss}
73 Switch to .sbss section. Equivalent to @code{.section .sbss}