aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/bfin/a25.s
blob: b5d5d7bb2cd5dc1f6911803707f97f9321861255 (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


	A1 = A0 = 0;
	R0.L = 0x01;
	A0.x = R0;
//A0 = 0x0100000000
//A1 = 0x0000000000

	R4.L = 0x2d1a;
	R4.H = 0x32e0;

	A1.x = R4;
//A1 = 0x1a00000000

	A0.w = A1.x;

	_DBG A0;

	R4 = A0.w;
	R5 = A0.x;
	DBGA ( R4.H , 0x0000 );	DBGA ( R4.L , 0x001a );
	DBGA ( R5.H , 0x0000 );	DBGA ( R5.L , 0x0001 );

	pass