aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2001-07-05 00:25:28 +0000
committerBen Elliston <bje@au.ibm.com>2001-07-05 00:25:28 +0000
commit81b0b3f17525b0c47fa4f732e173a213a3a8a80f (patch)
tree365a672ba50a00869fdd77cfefa29b8a4e01f09d /gas/doc
parent8aa9a2becc6e7cb152a0ed8aa0b5a79851fb0d76 (diff)
downloadgdb-81b0b3f17525b0c47fa4f732e173a213a3a8a80f.zip
gdb-81b0b3f17525b0c47fa4f732e173a213a3a8a80f.tar.gz
gdb-81b0b3f17525b0c47fa4f732e173a213a3a8a80f.tar.bz2
2001-07-05 Ben Elliston <bje@redhat.com>
* doc/c-m88k.texi: New file. * doc/Makefile.am (CPU_DOCS): Add c-m88k.texi. * doc/Makefile.in: Regenerate. * doc/all.texi: Set M880X0. * doc/as.texinfo: Hook in m88k-dependent documentation.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/Makefile.am1
-rw-r--r--gas/doc/Makefile.in1
-rw-r--r--gas/doc/all.texi1
-rw-r--r--gas/doc/as.texinfo13
-rw-r--r--gas/doc/c-m88k.texi66
5 files changed, 81 insertions, 1 deletions
diff --git a/gas/doc/Makefile.am b/gas/doc/Makefile.am
index 4d85018..abf95d4 100644
--- a/gas/doc/Makefile.am
+++ b/gas/doc/Makefile.am
@@ -37,6 +37,7 @@ CPU_DOCS = \
c-m32r.texi \
c-m68hc11.texi \
c-m68k.texi \
+ c-m88k.texi \
c-mips.texi \
c-ns32k.texi \
c-pdp11.texi \
diff --git a/gas/doc/Makefile.in b/gas/doc/Makefile.in
index 90ebe51..98a5138 100644
--- a/gas/doc/Makefile.in
+++ b/gas/doc/Makefile.in
@@ -147,6 +147,7 @@ CPU_DOCS = \
c-m32r.texi \
c-m68hc11.texi \
c-m68k.texi \
+ c-m88k.texi \
c-mips.texi \
c-ns32k.texi \
c-pdp11.texi \
diff --git a/gas/doc/all.texi b/gas/doc/all.texi
index 1f4e29b..f2465c2 100644
--- a/gas/doc/all.texi
+++ b/gas/doc/all.texi
@@ -41,6 +41,7 @@
@set M32R
@set M68HC11
@set M680X0
+@set M880X0
@set MCORE
@set MIPS
@set PDP11
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index 95825c6..4228802 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -40,6 +40,7 @@
@set M32R
@set M68HC11
@set M680X0
+@set M880X0
@set MCORE
@set MIPS
@set PDP11
@@ -1860,6 +1861,9 @@ is considered a comment and is ignored. The line comment character is
@ifset M68HC11
@samp{#} on the 68HC11 and 68HC12;
@end ifset
+@ifset M880X0
+@samp{;} on the M880x0;
+@end ifset
@ifset VAX
@samp{#} on the Vax;
@end ifset
@@ -1870,7 +1874,7 @@ is considered a comment and is ignored. The line comment character is
@samp{#} on the V850;
@end ifset
see @ref{Machine Dependencies}. @refill
-@c FIXME What about m88k, i860?
+@c FIXME What about i860?
@ifset GENERIC
On some machines there are two different line comment characters. One
@@ -5477,6 +5481,9 @@ subject, see the hardware manufacturer's manual.
@ifset M68HC11
* M68HC11-Dependent:: M68HC11 and 68HC12 Dependent Features
@end ifset
+@ifset M880X0
+* M88K-Dependent:: M880x0 Dependent Features
+@end ifset
@ifset MIPS
* MIPS-Dependent:: MIPS Dependent Features
@end ifset
@@ -5596,6 +5603,10 @@ family.
@include c-m68hc11.texi
@end ifset
+@ifset M880X0
+@include c-m88k.texi
+@end ifset
+
@ifset MIPS
@include c-mips.texi
@end ifset
diff --git a/gas/doc/c-m88k.texi b/gas/doc/c-m88k.texi
new file mode 100644
index 0000000..c7bdb26
--- /dev/null
+++ b/gas/doc/c-m88k.texi
@@ -0,0 +1,66 @@
+@c Copyright 2001 Free Software Foundation, Inc.
+@c This is part of the GAS manual.
+@c For copying conditions, see the file as.texinfo.
+@page
+@node M88K-Dependent
+@chapter Motorola M88K Dependent Features
+
+@cindex M88K support
+@menu
+* M88K Directives:: M88K Machine Directives
+@end menu
+
+@node M88K Directives
+@section M88K Machine Directives
+
+The M88K version of the assembler supports the following machine
+directives:
+
+@table @code
+@cindex @code{align} directive, M88K
+@item .align
+This directive aligns the section program counter on the next 4-byte
+boundary.
+
+@cindex @code{dfloat} directive, M88K
+@item .dfloat @var{expr}
+This assembles a double precision (64-bit) floating point constant.
+
+@cindex @code{ffloat} directive, M88K
+@item .ffloat @var{expr}
+This assembles a single precision (32-bit) floating point constant.
+
+@cindex @code{half} directive, M88K
+@item .half @var{expr}
+This directive assembles a half-word (16-bit) constant.
+
+@cindex @code{word} directive, M88K
+@item .word @var{expr}
+This assembles a word (32-bit) constant.
+
+@cindex @code{string} directive, M88K
+@item .string "@var{str}"
+This directive behaves like the standard @code{.ascii} directive for
+copying @var{str} into the object file. The string is not terminated
+with a null byte.
+
+@cindex @code{set} directive, M88K
+@item .set @var{symbol}, @var{value}
+This directive creates a symbol named @var{symbol} which is an alias for
+another symbol (possibly not yet defined). This should not be confused
+with the mnemonic @code{set}, which is a legitimate M88K instruction.
+
+@cindex @code{def} directive, M88K
+@item .def @var{symbol}, @var{value}
+This directive is synonymous with @code{.set} and is presumably provided
+for compatibility with other M88K assemblers.
+
+@cindex @code{bss} directive, M88K
+@item .bss @var{symbol}, @var{length}, @var{align}
+Reserve @var{length} bytes in the bss section for a local @var{symbol},
+aligned to the power of two specified by @var{align}. @var{length} and
+@var{align} must be positive absolute expressions. This directive
+differs from @samp{.lcomm} only in that it permits you to specify
+an alignment. @xref{Lcomm,,@code{.lcomm}}.
+
+@end table