aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorRoland Pesch <pesch@cygnus>1994-02-12 04:53:38 +0000
committerRoland Pesch <pesch@cygnus>1994-02-12 04:53:38 +0000
commit68ac42f6962dd7554a1f43ff26eecf50175690eb (patch)
tree1f231576f8458749d60a7d6d2aa816fe41260927 /gas/doc
parent24b9a4e211efc65493c35ab8747fa15b1a750bf9 (diff)
downloadgdb-68ac42f6962dd7554a1f43ff26eecf50175690eb.zip
gdb-68ac42f6962dd7554a1f43ff26eecf50175690eb.tar.gz
gdb-68ac42f6962dd7554a1f43ff26eecf50175690eb.tar.bz2
Clean formatting under TeX/FSF layout and TeX/Cygnus layout
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/gasp.texi18
1 files changed, 9 insertions, 9 deletions
diff --git a/gas/doc/gasp.texi b/gas/doc/gasp.texi
index 6807811..df93d2e 100644
--- a/gas/doc/gasp.texi
+++ b/gas/doc/gasp.texi
@@ -377,11 +377,10 @@ Defining your own directives}.
@node Variables
@section Preprocessor variables
-You can use variables in @sc{gasp} to represent the results of
-expressions, strings, or registers.
-
-There are two kinds of preprocessor variable:
+You can use variables in @sc{gasp} to represent strings, registers, or
+the results of expressions.
+You must distinguish two kinds of variables:
@c FIXME! Is this crud true about conditional comparisons vs variables?
@enumerate
@item
@@ -402,9 +401,9 @@ while loops; @sc{gasp} only evaluates these variables when writing
assembly output.
@item
-Variables defined as macro arguments, or with @code{.ASSIGNC} or
-@code{.ASSIGNA}. To evaluate this kind of variable, write @samp{\&} before
-the variable name; for example,
+Variables for use during preprocessing. These are defined as macro
+arguments, or with @code{.ASSIGNC} or @code{.ASSIGNA}. To evaluate this
+kind of variable, write @samp{\&} before the variable name; for example,
@cartouche
@example
@@ -944,8 +943,9 @@ field of @sc{gasp} statements):
@ftable @code
@item .LEN("@var{str}")
-The length of string @code{"@var{str}"}, as an absolute expression. For
-example, @samp{.RES.B .LEN("sample")} reserves six bytes of memory.
+Calculate the length of string @code{"@var{str}"}, as an absolute
+expression. For example, @samp{.RES.B .LEN("sample")} reserves six
+bytes of memory.
@item .INSTR("@var{string}", "@var{seg}", @var{ix})
Search for the first occurrence of @var{seg} after position @var{ix} of