diff --git a/gas/ChangeLog b/gas/ChangeLog index af8ad921f1..47b54f18cc 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,11 @@ Mon Dec 15 15:20:32 1997 Nick Clifton + * doc/all.texi: Add M32R cpu. + + * doc/as.texinfo: Add documentation of m32r processor. + + * doc/c-m32r.texi: New file, documenting m32r specific features. + * config/tc-m32r.c (allow_m32rx): New function. (enable_m32rx): New variable. (md_pseudo_table): Added .m32r and .m32rx pseudo ops diff --git a/gas/doc/all.texi b/gas/doc/all.texi index 666fbdebf6..2638dbc042 100644 --- a/gas/doc/all.texi +++ b/gas/doc/all.texi @@ -35,15 +35,14 @@ @set I80386 @set I960 @set MIPS +@set M32R @set M680X0 @set Z8000 @set SPARC @set VAX @set VXWORKS @set HPPA -@c start-sanitize-v850 @set V850 -@c end-sanitize-v850 @c Does this version of the assembler use the difference-table kluge? @set DIFF-TBL-KLUGE diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index 81331b6646..8432f55a82 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -230,7 +230,7 @@ Here is a brief summary of how to invoke @code{@value{AS}}. For details, @c The order here is important. See c-sparc.texi. [ -Av6 | -Av7 | -Av8 | -Asparclet | -Asparclite -Av8plus | -Av8plusa | -Av9 | -Av9a ] - [ -xarch=v8plus | -xarch=v8plusa ] [ -bump ] + [ -xarch=v8plus | -xarch=v8plusa ] [ -bump ] [ -32 | -64 ] @end ifset @ifset Z8000 @c Z8000 has no machine-dependent assembler options @@ -240,6 +240,9 @@ Here is a brief summary of how to invoke @code{@value{AS}}. For details, [ -ACA | -ACA_A | -ACB | -ACC | -AKA | -AKB | -AKC | -AMC ] [ -b ] [ -no-relax ] @end ifset +@ifset M32R + [ --m32rx ] +@end ifset @ifset M680X0 [ -l ] [ -m68000 | -m68010 | -m68020 | ... ] @end ifset @@ -423,6 +426,19 @@ error if necessary. @end table @end ifset +@ifset M32R +The following options are available when @value{AS} is configured for the +Mitsubishi M32R series. + +@table @code + +@item --m32rx +Specify which processor in the M32R family is the target. The default +is normally the M32R, but this option changes it to the M32RX. + +@end table +@end ifset + @ifset M680X0 The following options are available when @value{AS} is configured for the Motorola 68000 series. @@ -1441,6 +1457,9 @@ is considered a comment and is ignored. The line comment character is @ifset SPARC @samp{!} on the SPARC; @end ifset +@ifset M32R +@samp{#} on the m32r; +@end ifset @ifset M680X0 @samp{|} on the 680x0; @end ifset @@ -1450,11 +1469,9 @@ is considered a comment and is ignored. The line comment character is @ifset Z8000 @samp{!} for the Z8000; @end ifset -@c start-sanitize-v850 @ifset V850 @samp{#} on the V850; @end ifset -@c end-sanitize-v850 see @ref{Machine Dependencies}. @refill @c FIXME What about i386, m88k, i860? @@ -1464,14 +1481,12 @@ character only begins a comment if it is the first non-whitespace character on a line, while the other always begins a comment. @end ifset -@c start-sanitize-v850 @ifset V850 The V850 assembler also supports a double dash as starting a comment that extends to the end of the line. @samp{--}; @end ifset -@c end-sanitize-v850 @kindex # @cindex lines starting with @code{#} @@ -4666,6 +4681,9 @@ subject, see the hardware manufacturer's manual. @ifset I960 * i960-Dependent:: Intel 80960 Dependent Features @end ifset +@ifset M32R +* M32R-Dependent:: M32R Dependent Features +@end ifset @ifset M680X0 * M68K-Dependent:: M680x0 Dependent Features @end ifset @@ -4828,6 +4846,10 @@ family. @include c-i960.texi @end ifset +@ifset M32R +@include c-m32r.texi +@end ifset + @ifset M680X0 @include c-m68k.texi @end ifset @@ -4856,11 +4878,9 @@ family. @include c-vax.texi @end ifset -@c start-sanitize-v850 @ifset V850 @include c-v850.texi @end ifset -@c end-sanitize-v850 @ifset GENERIC @c reverse effect of @down at top of generic Machine-Dep chapter diff --git a/gas/doc/c-m32r.texi b/gas/doc/c-m32r.texi new file mode 100644 index 0000000000..55ed269ee8 --- /dev/null +++ b/gas/doc/c-m32r.texi @@ -0,0 +1,37 @@ +@c Copyright (C) 1991, 92, 93, 94, 95, 96, 1997 Free Software Foundation, Inc. +@c This is part of the GAS manual. +@c For copying conditions, see the file as.texinfo. +@ifset GENERIC +@page +@node M32R-Dependent +@chapter M32R Dependent Features +@end ifset +@ifclear GENERIC +@node Machine Dependencies +@chapter M32R Dependent Features +@end ifclear + +@cindex M32R support +@menu +* M32R-Opts:: M32R Options +@end menu + +@node M32R-Opts +@section M32R Options + +@cindex options, M32R +@cindex M32R options +The Mitsubishi M32R version of @code{@value{AS}} has a few machine +dependent options. + +@cindex @samp{--m32rx} option, M32R +@cindex architecture options, M32R +@cindex M32R architecture options +@code{@value{AS}} can assemble code for several different members of the +Mitsubishi M32R family. Normally the default is to assemble code for +the M32R microprocessor. This option may be used to change the default +to the M32RX microprocessor, which adds some more instructions to the +basic M32R instruction set. + + +