1# mach: bfin
2
3.include "testutils.inc"
4	start
5
6	p0=10;
7	loadsym i0, foo;
8
9	R2 = i0;
10	r0.l = 0x5678;
11	r0.h = 0x1234;
12
13	lsetup(lstart, lend) lc0=p0;
14
15lstart:
16	[i0++] = r0;
17lend:
18	[i0++] = r0;
19
20	r0=i0;
21	R0 = R0 - R2;
22	dbga(r0.l, 0x0050);
23
24	pass
25
26	.data
27foo:
28	.space (0x100)
29