summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/arm/tcompat2.s
blob: b034ce2f6725c3e3b0f42df472365732c1030e6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
	@ Three-argument forms of Thumb arithmetic instructions.
	@ Commutative instructions allow either the second or third
	@ operand to equal the first.

	.text
	.global m
	.thumb_func
m:
	adc	r0,r0,r1
	adc	r0,r1,r0

	and	r0,r0,r1
	and	r0,r1,r0

	eor	r0,r0,r1
	eor	r0,r1,r0

	mul	r0,r0,r1
	mul	r0,r1,r0

	orr	r0,r0,r1
	orr	r0,r1,r0

	bic	r0,r0,r1

	sbc	r0,r0,r1

	@ section padding for a.out's sake
	nop
	nop
	nop
	nop