diff options
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/as.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/doc/as.texi b/gas/doc/as.texi index 90898d7..33169a5 100644 --- a/gas/doc/as.texi +++ b/gas/doc/as.texi @@ -6739,6 +6739,13 @@ is equivalent to assembling A count of zero is allowed, but nothing is generated. Negative counts are not allowed and if encountered will be treated as if they were zero. +Much like for macros, @code{.irp}, and @code{.irpc} the @samp{\+} sequence can +be used to substitute in the number of iterations done so far. In such cases, +i.e. when any @samp{\+} character sequence is present between @code{.rept} and +the corresponding @code{.endr}, other backslashes also need escaping by +backslashes. Naturally the amount of escaping necessary may increase when +using nested constructs. + @node Sbttl @section @code{.sbttl "@var{subheading}"} |