\input texinfo @c -*- Texinfo -*-
-@finalout
@setfilename gasp.info
@c
@c This file documents the assembly preprocessor "GASP"
@syncodeindex ky cp
@syncodeindex fn cp
+@finalout
@setchapternewpage odd
@settitle GASP
@titlepage
@c FIXME boring title
-@title DRAFT EDITION
-@sp 4
@title GASP, an assembly preprocessor
@subtitle for GASP version 1
@sp 1
@end tex
@vskip 0pt plus 1filll
-Copyright @copyright{} 1994 Free Software Foundation, Inc.
+Copyright @copyright{} 1994, 1995 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
@end titlepage
@ifinfo
-Copyright @copyright{} 1994 Free Software Foundation, Inc.
+Copyright @copyright{} 1994, 1995 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
@example
gasp [ -a | --alternate ]
[ -c @var{char} | --commentchar @var{char} ]
- [ -d | --debug ] [ -h | --help ]
+ [ -d | --debug ] [ -h | --help ] [ -M | --mri ]
[ -o @var{outfile} | --output @var{outfile} ]
[ -p | --print ] [ -s | --copysource ]
[ -u | --unreasonable ] [ -v | --version ]
@itemx --help
Display a summary of the @sc{gasp} command line options.
+@item -M
+@itemx --mri
+Use MRI compatibility mode. Using this option causes @sc{gasp} to
+accept the syntax and pseudo-ops used by the Microtec Research
+@code{ASM68K} assembler.
+
@item -o @var{outfile}
@itemx --output @var{outfile}
Write the output in a file called @var{outfile}. If you do not use the
When you compare strings, only two conditional @var{cmp} comparison
operators are available: @samp{EQ} (true if @var{stra} and @var{strb}
-are identical), and @samp{NE} (the converse).
+are identical), and @samp{NE} (the opposite).
When you compare two expressions, @emph{both expressions must be
absolute} (@pxref{Expressions,, Arithmetic expressions in GASP}). You
@node Listings
@section Assembly listing control
-The @sc{gasp} listing-control directives map straightforwardly to
+The @sc{gasp} listing-control directives correspond to
related @sc{gnu} @code{as} directives.
@ftable @code
recent @code{.RADIX}).
To write a number in a @emph{specific base}, use the pattern
-@code{'@var{s}@var{ddd}}: a single quote, followed by a base specifier
-character @var{s}, followed by digits @var{ddd}. The base specifier
+@code{@var{s}'@var{ddd}}: a base specifier character @var{s}, followed
+by a single quote followed by digits @var{ddd}. The base specifier
character matches those you can specify with @code{.RADIX}: @samp{B} for
base 2, @samp{Q} for base 8, @samp{D} for base 10, and @samp{H} for base
16. (You can write this character in lower case if you prefer.)