summaryrefslogtreecommitdiffstats
path: root/binutils-2.17/gas/testsuite/gas/d10v/inst.s
blob: 0a0fa744131c2bab3bcb87494226fa4f1feaf9e0 (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
# test all instructions. FIXME: many instructions missing.

start:
	sachi	r1, a0
	sac	r0, a0
	#
	# disassembler test. sachi&sac should not 
	# be confused with rachi&rac
	#
	rachi	r1, a0, -0x2
	rac	r0, a0, -0x2
	slae	a0, r3
	ld	r1, @0x0800
	ld2w	r0, @0x0800
	st2w	r0, @0x0800
	st	r1, @0x0800

# VLIW syntax test
	nop
	nop
	nop	->	nop
	nop	||	nop
	nop	<-	nop

# try changing sections
	not	r1
	.section .foo
	add3	r10,r12,6
	.text
	not	r2
	nop