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>
This commit is contained in:
Mike Frysinger 2011-02-11 19:05:30 +00:00
parent 5f95629354
commit 347d120a63
2 changed files with 26 additions and 8 deletions

View File

@ -1,3 +1,11 @@
2011-02-11 Mike Frysinger <vapier@gentoo.org>
* doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
(Modify Registers): Fix subtracted typo.
(.byte2): Extend and swap descriptions with .byte4.
(.byte4): Extend and swap descriptions with .byte2.
(.db, .dw, .dd): Document behavior.
2011-02-11 Mike Frysinger <vapier@gentoo.org>
* config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.

View File

@ -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