From 347d120a63e612b3e959a1982b15c3e79412e653 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 11 Feb 2011 19:05:30 +0000 Subject: [PATCH] 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 --- gas/ChangeLog | 8 ++++++++ gas/doc/c-bfin.texi | 26 ++++++++++++++++++-------- 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 7330ea6af16..062d6cb1a01 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,11 @@ +2011-02-11 Mike Frysinger + + * 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 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP. diff --git a/gas/doc/c-bfin.texi b/gas/doc/c-bfin.texi index 83d07ca5dd5..31273e6e05e 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 -- 2.30.2