1 diff -cp ../binutils-2.23.52.0.1.orig/gas/doc/c-arc.texi gas/doc/c-arc.texi
2 *** ../binutils-2.23.52.0.1.orig/gas/doc/c-arc.texi 2013-03-04 08:25:32.051931944 +0000
3 --- gas/doc/c-arc.texi 2013-03-04 08:26:19.234930452 +0000
4 *************** The extension instructions are not macro
6 encodings for use of these instructions according to the specification
7 by the user. The parameters are:
11 Name of the extension instruction
14 encodings for use of these instructions according to the specification
15 by the user. The parameters are:
19 Name of the extension instruction
21 diff -cp ../binutils-2.23.52.0.1.orig/gas/doc/c-arm.texi gas/doc/c-arm.texi
22 *** ../binutils-2.23.52.0.1.orig/gas/doc/c-arm.texi 2013-03-04 08:25:32.039931945 +0000
23 --- gas/doc/c-arm.texi 2013-03-04 08:27:37.462927978 +0000
24 *************** ARM and THUMB instructions had their own
26 @code{unified} syntax, which can be selected via the @code{.syntax}
27 directive, and has the following main features:
31 Immediate operands do not require a @code{#} prefix.
34 The @code{IT} instruction may appear, and if it does it is validated
35 against subsequent conditional affixes. In ARM mode it does not
36 generate machine code, in THUMB mode it does.
39 For ARM instructions the conditional affixes always appear at the end
40 of the instruction. For THUMB instructions conditional affixes can be
41 used, but only inside the scope of an @code{IT} instruction.
44 All of the instructions new to the V6T2 architecture (and later) are
45 available. (Only a few such instructions can be written in the
46 @code{divided} syntax).
49 The @code{.N} and @code{.W} suffixes are recognized and honored.
52 All instructions set the flags if and only if they have an @code{s}
56 @code{unified} syntax, which can be selected via the @code{.syntax}
57 directive, and has the following main features:
61 Immediate operands do not require a @code{#} prefix.
64 The @code{IT} instruction may appear, and if it does it is validated
65 against subsequent conditional affixes. In ARM mode it does not
66 generate machine code, in THUMB mode it does.
69 For ARM instructions the conditional affixes always appear at the end
70 of the instruction. For THUMB instructions conditional affixes can be
71 used, but only inside the scope of an @code{IT} instruction.
74 All of the instructions new to the V6T2 architecture (and later) are
75 available. (Only a few such instructions can be written in the
76 @code{divided} syntax).
79 The @code{.N} and @code{.W} suffixes are recognized and honored.
82 All instructions set the flags if and only if they have an @code{s}
85 *************** Either @samp{#} or @samp{$} can be used
87 @cindex register names, ARM
88 *TODO* Explain about ARM register naming, and the predefined names.
90 - @node ARM-Neon-Alignment
91 - @subsection NEON Alignment Specifiers
93 - @cindex alignment for NEON instructions
94 - Some NEON load/store instructions allow an optional address
95 - alignment qualifier.
96 - The ARM documentation specifies that this is indicated by
97 - @samp{@@ @var{align}}. However GAS already interprets
98 - the @samp{@@} character as a "line comment" start,
99 - so @samp{: @var{align}} is used instead. For example:
102 - vld1.8 @{q0@}, [r0, :128]
105 - @node ARM Floating Point
106 - @section Floating Point
108 - @cindex floating point, ARM (@sc{ieee})
109 - @cindex ARM floating point (@sc{ieee})
110 - The ARM family uses @sc{ieee} floating-point numbers.
112 @node ARM-Relocations
113 @subsection ARM relocation generation
116 *************** respectively. For example to load the 3
119 MOVT r0, #:upper16:foo
122 + @node ARM-Neon-Alignment
123 + @subsection NEON Alignment Specifiers
125 + @cindex alignment for NEON instructions
126 + Some NEON load/store instructions allow an optional address
127 + alignment qualifier.
128 + The ARM documentation specifies that this is indicated by
129 + @samp{@@ @var{align}}. However GAS already interprets
130 + the @samp{@@} character as a "line comment" start,
131 + so @samp{: @var{align}} is used instead. For example:
134 + vld1.8 @{q0@}, [r0, :128]
137 + @node ARM Floating Point
138 + @section Floating Point
140 + @cindex floating point, ARM (@sc{ieee})
141 + @cindex ARM floating point (@sc{ieee})
142 + The ARM family uses @sc{ieee} floating-point numbers.
145 @section ARM Machine Directives
147 diff -cp ../binutils-2.23.52.0.1.orig/gas/doc/c-cr16.texi gas/doc/c-cr16.texi
148 *** ../binutils-2.23.52.0.1.orig/gas/doc/c-cr16.texi 2013-03-04 08:25:32.086931943 +0000
149 --- gas/doc/c-cr16.texi 2013-03-04 08:28:09.304926971 +0000
150 *************** Operand expression type qualifier is an
152 CR16 target operand qualifiers and its size (in bits):
155 ! @item Immediate Operand
158 ! - m ---- 16 bits, for movb and movw instructions.
160 ! - m ---- 20 bits, movd instructions.
164 ! @item Absolute Operand
165 ! - s ---- Illegal specifier for this operand.
167 ! - m ---- 20 bits, movd instructions.
169 ! @item Displacement Operand
179 CR16 target operand qualifiers and its size (in bits):
182 ! @item Immediate Operand: s
185 ! @item Immediate Operand: m
186 ! 16 bits, for movb and movw instructions.
188 ! @item Immediate Operand: m
189 ! 20 bits, movd instructions.
191 ! @item Immediate Operand: l
194 ! @item Absolute Operand: s
195 ! Illegal specifier for this operand.
197 ! @item Absolute Operand: m
198 ! 20 bits, movd instructions.
200 ! @item Displacement Operand: s
203 ! @item Displacement Operand: m
206 ! @item Displacement Operand: l
212 diff -cp ../binutils-2.23.52.0.1.orig/gas/doc/c-tic54x.texi gas/doc/c-tic54x.texi
213 *** ../binutils-2.23.52.0.1.orig/gas/doc/c-tic54x.texi 2013-03-04 08:25:32.035931945 +0000
214 --- gas/doc/c-tic54x.texi 2013-03-04 08:28:38.186926057 +0000
215 *************** In this example, x is replaced with SYM2
217 is replaced with x. At this point, x has already been encountered
218 and the substitution stops.
220 ! @smallexample @code
225 is replaced with x. At this point, x has already been encountered
226 and the substitution stops.
232 *************** Substitution may be forced in situations
234 ambiguous by placing colons on either side of the subsym. The following
237 ! @smallexample @code
242 When assembled becomes:
244 ! @smallexample @code
249 ambiguous by placing colons on either side of the subsym. The following
257 When assembled becomes:
263 *************** The @code{LDX} pseudo-op is provided for
265 of a label or address. For example, if an address @code{_label} resides
266 in extended program memory, the value of @code{_label} may be loaded as
268 ! @smallexample @code
269 ldx #_label,16,a ; loads extended bits of _label
270 or #_label,a ; loads lower 16 bits of _label
271 bacc a ; full address is in accumulator A
273 of a label or address. For example, if an address @code{_label} resides
274 in extended program memory, the value of @code{_label} may be loaded as
277 ldx #_label,16,a ; loads extended bits of _label
278 or #_label,a ; loads lower 16 bits of _label
279 bacc a ; full address is in accumulator A