Next: ARC Modifiers, Previous: ARC Syntax, Up: ARC-Dependent
The ARC version of as supports the following additional
machine directives:
.lcomm symbol , length[, alignment]ld. The optional third parameter, alignment,
specifies the desired alignment of the symbol in the bss section,
specified as a byte boundary (for example, an alignment of 16 means
that the least significant 4 bits of the address should be zero). The
alignment must be an absolute expression, and it must be a power of
two. If no alignment is specified, as will set the alignment to the
largest power of two less than or equal to the size of the symbol, up
to a maximum of 16.
.lcommon symbol , length[, alignment]lcomm directive.
The .cpu directive must be followed by the desired core
version. Permitted values for CPU are:
ARC600ARC700EMHSNote: the .cpu directive overrides the command line option
-mcpu=cpu; a warning is emitted when the version is not
consistent between the two.