aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/bfin/l2_loop.s
blob: a6cde541aee1e7b0c100f8baded781b9d5fe5b8a (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
# mach: bfin

.include "testutils.inc"
	start

	p0=10;
	loadsym i0, foo;

	R2 = i0;
	r0.l = 0x5678;
	r0.h = 0x1234;

	lsetup(lstart, lend) lc0=p0;

lstart:
	[i0++] = r0;
lend:
	[i0++] = r0;

	r0=i0;
	R0 = R0 - R2;
	dbga(r0.l, 0x0050);

	pass

	.data
foo:
	.space (0x100)