aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Remus <jremus@linux.ibm.com>2024-09-09 17:05:27 +0200
committerJens Remus <jremus@linux.ibm.com>2024-10-24 14:29:45 +0200
commitd6ab1d2efdc8a31609fbebb76187157e4fe617aa (patch)
tree4f20604831280137a15969a74f40407f3ec5a055
parentc40337b1784d81c615a5dd9fd391f6677e52c6d8 (diff)
downloadgdb-d6ab1d2efdc8a31609fbebb76187157e4fe617aa.zip
gdb-d6ab1d2efdc8a31609fbebb76187157e4fe617aa.tar.gz
gdb-d6ab1d2efdc8a31609fbebb76187157e4fe617aa.tar.bz2
s390: Document syntax to omit base register operand
Document the s390-specific assembler syntax introduced by commit aacf780bca29 ("s390: Allow to explicitly omit base register operand in assembly") to omit the base register operand B in D(X,B) and D(L,B) by coding D(X,) and D(L,). While at it document the alternative syntax to omit the index register operand X in D(X,B) by coding D(,B) instead of D(B). gas/ * doc/c-s390.texi (s390 Operands): Document syntax to omit base register operand. Fixes: aacf780bca29 ("s390: Allow to explicitly omit base register operand in assembly") Signed-off-by: Jens Remus <jremus@linux.ibm.com> (cherry picked from commit e75cfa9f0f81f70389b6d81d22b664c37f2403db)
-rw-r--r--gas/doc/c-s390.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/doc/c-s390.texi b/gas/doc/c-s390.texi
index f73dfde..cd0dc7b 100644
--- a/gas/doc/c-s390.texi
+++ b/gas/doc/c-s390.texi
@@ -300,10 +300,11 @@ field. The notation changes as follows:
@display
@multitable @columnfractions 0.30 0.30
@headitem full notation @tab short notation
-@item Dn(0,Bn) @tab Dn(Bn)
+@item Dn(Xn,0) @tab Dn(Xn,)
+@item Dn(0,Bn) @tab Dn(,Bn) or Dn(Bn)
@item Dn(0,0) @tab Dn
@item Dn(0) @tab Dn
-@item Dn(Ln,0) @tab Dn(Ln)
+@item Dn(Ln,0) @tab Dn(Ln,) or Dn(Ln)
@end multitable
@end display