summaryrefslogtreecommitdiff
path: root/gas/doc/c-cr16.texi
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-01-10 19:51:53 +0000
committerH.J. Lu <hjl.tools@gmail.com>2013-01-10 19:51:53 +0000
commitb1b7556e4d9d72a2a0b05a0408452cce2bb878c2 (patch)
tree0f354dc93d03f43d0ff4bfb5a0a1964aa148ca60 /gas/doc/c-cr16.texi
parent32cf3657a4d3f00cc2c096f01d6151f66ec8a840 (diff)
downloadbinutils-redhat-b1b7556e4d9d72a2a0b05a0408452cce2bb878c2.tar.gz
Remove trailing white spaces on gas
* app.c: Remove trailing white spaces. * as.c: Likewise. * as.h: Likewise. * cond.c: Likewise. * dw2gencfi.c: Likewise. * dwarf2dbg.h: Likewise. * ecoff.c: Likewise. * input-file.c: Likewise. * itbl-lex.h: Likewise. * output-file.c: Likewise. * read.c: Likewise. * sb.c: Likewise. * subsegs.c: Likewise. * symbols.c: Likewise. * write.c: Likewise. * config/tc-i386.c: Likewise. * doc/Makefile.am: Likewise. * doc/Makefile.in: Likewise. * doc/c-aarch64.texi: Likewise. * doc/c-alpha.texi: Likewise. * doc/c-arc.texi: Likewise. * doc/c-arm.texi: Likewise. * doc/c-avr.texi: Likewise. * doc/c-bfin.texi: Likewise. * doc/c-cr16.texi: Likewise. * doc/c-d10v.texi: Likewise. * doc/c-d30v.texi: Likewise. * doc/c-h8300.texi: Likewise. * doc/c-hppa.texi: Likewise. * doc/c-i370.texi: Likewise. * doc/c-i386.texi: Likewise. * doc/c-i860.texi: Likewise. * doc/c-m32c.texi: Likewise. * doc/c-m32r.texi: Likewise. * doc/c-m68hc11.texi: Likewise. * doc/c-m68k.texi: Likewise. * doc/c-microblaze.texi: Likewise. * doc/c-mips.texi: Likewise. * doc/c-msp430.texi: Likewise. * doc/c-mt.texi: Likewise. * doc/c-s390.texi: Likewise. * doc/c-score.texi: Likewise. * doc/c-sh.texi: Likewise. * doc/c-sh64.texi: Likewise. * doc/c-tic54x.texi: Likewise. * doc/c-tic6x.texi: Likewise. * doc/c-v850.texi: Likewise. * doc/c-xc16x.texi: Likewise. * doc/c-xgate.texi: Likewise. * doc/c-xtensa.texi: Likewise. * doc/c-z80.texi: Likewise. * doc/internals.texi: Likewise.
Diffstat (limited to 'gas/doc/c-cr16.texi')
-rw-r--r--gas/doc/c-cr16.texi28
1 files changed, 14 insertions, 14 deletions
diff --git a/gas/doc/c-cr16.texi b/gas/doc/c-cr16.texi
index 19f859f71d..7f687dc27f 100644
--- a/gas/doc/c-cr16.texi
+++ b/gas/doc/c-cr16.texi
@@ -22,22 +22,22 @@
@section CR16 Operand Qualifiers
@cindex CR16 Operand Qualifiers
-The National Semiconductor CR16 target of @code{@value{AS}} has a few machine dependent operand qualifiers.
+The National Semiconductor CR16 target of @code{@value{AS}} has a few machine dependent operand qualifiers.
Operand expression type qualifier is an optional field in the instruction operand, to determines the type of the expression field of an operand. The @code{@@} is required. CR16 architecture uses one of the following expression qualifiers:
@table @code
-@item s
+@item s
- @code{Specifies expression operand type as small}
-@item m
+@item m
- @code{Specifies expression operand type as medium}
-@item l
+@item l
- @code{Specifies expression operand type as large}
-@item c
+@item c
- @code{Specifies the CR16 Assembler generates a relocation entry for the operand, where pc has implied bit, the expression is adjusted accordingly. The linker uses the relocation entry to update the operand address at link time.}
-@item got/GOT
+@item got/GOT
- @code{Specifies the CR16 Assembler generates a relocation entry for the operand, offset from Global Offset Table. The linker uses this relocation entry to update the operand address at link time}
-@item cgot/cGOT
+@item cgot/cGOT
- @code{Specifies the CompactRISC Assembler generates a relocation entry for the operand, where pc has implied bit, the expression is adjusted accordingly. The linker uses the relocation entry to update the operand address at link time.}
@end table
@@ -46,23 +46,23 @@ CR16 target operand qualifiers and its size (in bits):
@table @samp
@item Immediate Operand
- s ---- 4 bits
-@item
+@item
- m ---- 16 bits, for movb and movw instructions.
-@item
+@item
- m ---- 20 bits, movd instructions.
-@item
+@item
- l ---- 32 bits
@item Absolute Operand
- s ---- Illegal specifier for this operand.
-@item
+@item
- m ---- 20 bits, movd instructions.
@item Displacement Operand
- s ---- 8 bits
@item
- m ---- 16 bits
-@item
+@item
- l ---- 24 bits
@end table
@@ -75,7 +75,7 @@ For example:
2 @code{movd $_myfun@@c,(r2,r1)}
This loads the address of _myfun, shifted right by 1, into register-pair r2-r1.
-
+
3 @code{_myfun_ptr:}
@code{.long _myfun@@c}
@code{loadd _myfun_ptr, (r1,r0)}
@@ -89,7 +89,7 @@ For example:
5 @code{loadd _myfunc@@cGOT(r12), (r1,r0)}
- This loads the address of _myfun, shifted right by 1, into global offset table (ie GOT) and its offset value from GOT loads into register-pair r1-r0.
+ This loads the address of _myfun, shifted right by 1, into global offset table (ie GOT) and its offset value from GOT loads into register-pair r1-r0.
@end example
@node CR16 Syntax