xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/bfin/issue127.s (revision 4b169a6ba595ae283ca507b26b15fdff40495b1c)
1# mach: bfin
2
3.include "testutils.inc"
4	start
5
6// load acc with values;
7	R0.L = 0x5d8c;
8	R0.H = 0x90c4;
9	A0.w = R0;
10	R0.L = 0x8308;
11	A0.x = R0;
12	R0.L = 0x32da;
13	R0.H = 0xa6ec;
14	A1.w = R0;
15	R0.L = 0x1772;
16	A1.x = R0;
17// load regs with values;
18	R0.L = 0x83de;
19	R0.H = 0x7070;
20	R1.L = 0x8b86;
21	R1.H = 0x85ac;
22	R2.L = 0x2398;
23	R2.H = 0x3adc;
24	R3.L = 0x1480;
25	R3.H = 0x7f90;
26// end load regs and acc;
27	SAA ( R1:0 , R3:2 ) (R);
28
29	_DBG A0;
30	_DBG A1;
31
32	R0 = A0.x;	DBGA ( R0.L , 0 );
33	R0 = A1.x;	DBGA ( R0.L , 0 );
34
35	pass
36