sim: bfin: import testsuite
[deliverable/binutils-gdb.git] / sim / testsuite / sim / bfin / issue89.s
1 # mach: bfin
2
3 .include "testutils.inc"
4 start
5
6 init_r_regs 0;
7 ASTAT = R0;
8
9 R2.L = 0x000f;
10 R2.H = 0x038c;
11 _DBG R2;
12
13 R7.L = 0x007c;
14 R7.H = 0x0718;
15 A0 = 0;
16 A0.w = R7;
17 _DBG A0;
18
19 A0 = ROT A0 BY R2.L;
20
21 _DBG A0;
22
23 R4 = A0.w;
24 R5 = A0.x;
25 DBGA ( R4.H , 0x003e );
26 DBGA ( R4.L , 0x0001 );
27 DBGA ( R5.H , 0xffff );
28 DBGA ( R5.L , 0xff8c );
29
30 pass
This page took 0.029097 seconds and 4 git commands to generate.