aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-xc16x/absrel.s
blob: 3bfe70e12ceed32ba171b5f94654b7014cd5477d (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
	.global _start
_start:
	mov r5,#0xf
	mov r6,#0xf

.12:
	mov r5,.end
	mov r6,#0xd
	mov r7,.end
	mov r8,#0xd
.13:
	mov r5,.end
	mov r6,#0xf
	mov r7,.end
	mov r8,#0xf
.end:
	;calla cc_UC,.13
	;calla cc_usr1,.12

	;calla+ cc_UGT,.12
	calla- cc_nusr0,.12
	calla- cc_nusr1,.12
	calla- cc_usr0,.12

	;jmpa cc_UGT,.end
	;jmpa cc_nusr0,.end

	;jmpa+ cc_UGT,.12
	jmpa- cc_nusr0,.12
	jmpa- cc_nusr1,.12
	jmpa- cc_usr0,.12