2005-09-08 Paul Brook <paul@codesourcery.com>
[binutils.git] / gas / testsuite / gas / arm / tcompat2.s
blobb034ce2f6725c3e3b0f42df472365732c1030e6e
1 @ Three-argument forms of Thumb arithmetic instructions.
2 @ Commutative instructions allow either the second or third
3 @ operand to equal the first.
5 .text
6 .global m
7 .thumb_func
8 m:
9 adc r0,r0,r1
10 adc r0,r1,r0
12 and r0,r0,r1
13 and r0,r1,r0
15 eor r0,r0,r1
16 eor r0,r1,r0
18 mul r0,r0,r1
19 mul r0,r1,r0
21 orr r0,r0,r1
22 orr r0,r1,r0
24 bic r0,r0,r1
26 sbc r0,r0,r1
28 @ section padding for a.out's sake
29 nop
30 nop
31 nop
32 nop