summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/cris/brokw-2.s
blob: cec6f7132ef83a618b27e45159aaa4fdd7279276 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
; Tests the broken-word function, two words.

sym2:	moveq 0,r0

	.word	sym1 - sym2
	.word   sym3 - sym2

	moveq 1,r0
; Short jump around secondary jump table inserted here :
;	ba	next_label
;	nop
;	.skip	2,0
; Secondary jump table inserted here :
;	jump	sym3
;	jump	sym1
next_label:
	moveq 2,r0

	.space	32766, 0

sym1:	moveq 3,r0
sym3:	moveq 4,r0