| 1 | @c Copyright 2001 Free Software Foundation, Inc.
 | 
|---|
| 2 | @c This is part of the GAS manual.
 | 
|---|
| 3 | @c For copying conditions, see the file as.texinfo.
 | 
|---|
| 4 | @page
 | 
|---|
| 5 | @node M88K-Dependent
 | 
|---|
| 6 | @chapter Motorola M88K Dependent Features
 | 
|---|
| 7 | 
 | 
|---|
| 8 | @cindex M88K support
 | 
|---|
| 9 | @menu
 | 
|---|
| 10 | * M88K Directives::     M88K Machine Directives
 | 
|---|
| 11 | @end menu
 | 
|---|
| 12 | 
 | 
|---|
| 13 | @node M88K Directives
 | 
|---|
| 14 | @section M88K Machine Directives
 | 
|---|
| 15 | 
 | 
|---|
| 16 | The M88K version of the assembler supports the following machine
 | 
|---|
| 17 | directives:
 | 
|---|
| 18 | 
 | 
|---|
| 19 | @table @code
 | 
|---|
| 20 | @cindex @code{align} directive, M88K
 | 
|---|
| 21 | @item .align
 | 
|---|
| 22 | This directive aligns the section program counter on the next 4-byte
 | 
|---|
| 23 | boundary.
 | 
|---|
| 24 | 
 | 
|---|
| 25 | @cindex @code{dfloat} directive, M88K
 | 
|---|
| 26 | @item .dfloat @var{expr}
 | 
|---|
| 27 | This assembles a double precision (64-bit) floating point constant.
 | 
|---|
| 28 | 
 | 
|---|
| 29 | @cindex @code{ffloat} directive, M88K
 | 
|---|
| 30 | @item .ffloat @var{expr}
 | 
|---|
| 31 | This assembles a single precision (32-bit) floating point constant.
 | 
|---|
| 32 | 
 | 
|---|
| 33 | @cindex @code{half} directive, M88K
 | 
|---|
| 34 | @item .half @var{expr}
 | 
|---|
| 35 | This directive assembles a half-word (16-bit) constant.
 | 
|---|
| 36 | 
 | 
|---|
| 37 | @cindex @code{word} directive, M88K
 | 
|---|
| 38 | @item .word @var{expr}
 | 
|---|
| 39 | This assembles a word (32-bit) constant.
 | 
|---|
| 40 | 
 | 
|---|
| 41 | @cindex @code{string} directive, M88K
 | 
|---|
| 42 | @item .string "@var{str}"
 | 
|---|
| 43 | This directive behaves like the standard @code{.ascii} directive for
 | 
|---|
| 44 | copying @var{str} into the object file.  The string is not terminated
 | 
|---|
| 45 | with a null byte.
 | 
|---|
| 46 | 
 | 
|---|
| 47 | @cindex @code{set} directive, M88K
 | 
|---|
| 48 | @item .set @var{symbol}, @var{value}
 | 
|---|
| 49 | This directive creates a symbol named @var{symbol} which is an alias for
 | 
|---|
| 50 | another symbol (possibly not yet defined).  This should not be confused
 | 
|---|
| 51 | with the mnemonic @code{set}, which is a legitimate M88K instruction.
 | 
|---|
| 52 | 
 | 
|---|
| 53 | @cindex @code{def} directive, M88K
 | 
|---|
| 54 | @item .def @var{symbol}, @var{value}
 | 
|---|
| 55 | This directive is synonymous with @code{.set} and is presumably provided
 | 
|---|
| 56 | for compatibility with other M88K assemblers.
 | 
|---|
| 57 | 
 | 
|---|
| 58 | @cindex @code{bss} directive, M88K
 | 
|---|
| 59 | @item .bss @var{symbol}, @var{length}, @var{align}
 | 
|---|
| 60 | Reserve @var{length} bytes in the bss section for a local @var{symbol},
 | 
|---|
| 61 | aligned to the power of two specified by @var{align}.  @var{length} and
 | 
|---|
| 62 | @var{align} must be positive absolute expressions.  This directive
 | 
|---|
| 63 | differs from @samp{.lcomm} only in that it permits you to specify
 | 
|---|
| 64 | an alignment.  @xref{Lcomm,,@code{.lcomm}}.
 | 
|---|
| 65 | 
 | 
|---|
| 66 | @end table
 | 
|---|