Next: MicroBlaze Syntax, Up: MicroBlaze-Dependent
A number of assembler directives are available for MicroBlaze.
.data8
expression,...
.byte
. Each expression is assembled
into an eight-bit value.
.data16
expression,...
.hword
. Each expression is assembled
into an 16-bit value.
.data32
expression,...
.word
. Each expression is assembled
into an 32-bit value.
.ent
name[,
label]
.func
denoting the start of function
name at (optional) label.
.end
name[,
label]
.endfunc
denoting the end of function
name.
.gpword
label,...
.rva
. The resolved address of label
is stored in the data section.
.weakext
label.rodata
.section .rodata
.sdata2
.section .sdata2
.sdata
.section .sdata
.bss
.section .bss
.sbss
.section .sbss