aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-02-11 19:05:30 +0000
committerMike Frysinger <vapier@gentoo.org>2011-02-11 19:05:30 +0000
commit347d120a63e612b3e959a1982b15c3e79412e653 (patch)
tree261bf22399d9dac7382255d701edc0def4507e65 /gas/doc
parent5f95629354ea36a3ab581d34a80af33b19c833cf (diff)
downloadgdb-347d120a63e612b3e959a1982b15c3e79412e653.zip
gdb-347d120a63e612b3e959a1982b15c3e79412e653.tar.gz
gdb-347d120a63e612b3e959a1982b15c3e79412e653.tar.bz2
gas: blackfin: docs: typo fixes and fill out directive info
A bunch of Blackfin-specific directives were lacking info on what they actually do, so fill in the blanks. Further, the byte2/byte4 descriptions were swapped. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/c-bfin.texi26
1 files changed, 18 insertions, 8 deletions
diff --git a/gas/doc/c-bfin.texi b/gas/doc/c-bfin.texi
index 83d07ca..31273e6 100644
--- a/gas/doc/c-bfin.texi
+++ b/gas/doc/c-bfin.texi
@@ -125,7 +125,7 @@ set off by a "||" token.
a0 = r3.h * r2.l || r1 = [p3++] || r4 = [i2++];
@end smallexample
-Multiple instructions can occour on the same line. Each must be
+Multiple instructions can occur on the same line. Each must be
terminated by a semicolon character.
@item Register Names
@@ -218,7 +218,7 @@ addresses of data structures. Abbreviated I-register or Ireg.
@item Modify Registers
The set of 32-bit registers (M0, M1, M2, M3) that normally contain
-offset values that are added and subracted to one of the index
+offset values that are added and subtracted to one of the index
registers. Abbreviated as Mreg.
@item Length Registers
@@ -250,15 +250,25 @@ The following directives are provided for compatibility with the VDSP assembler.
@table @code
@item .byte2
-Initializes a four byte data object.
-@item .byte4
Initializes a two byte data object.
+
+This maps to the @code{.short} directive.
+@item .byte4
+Initializes a four byte data object.
+
+This maps to the @code{.int} directive.
@item .db
-TBD
-@item .dd
-TBD
+Initializes a single byte data object.
+
+This directive is a synonym for @code{.byte}.
@item .dw
-TBD
+Initializes a two byte data object.
+
+This directive is a synonym for @code{.byte2}.
+@item .dd
+Initializes a four byte data object.
+
+This directive is a synonym for @code{.byte4}.
@item .var
Define and initialize a 32 bit data object.
@end table