sim: bfin: import testsuite
[deliverable/binutils-gdb.git] / sim / testsuite / sim / bfin / issue175.s
1 # mach: bfin
2
3 .include "testutils.inc"
4 start
5
6 R0 = 0;
7 ASTAT = R0;
8 imm32 R1, 0x80007fff;
9 imm32 R0, 0x00010001;
10 R0 = R1 +|+ R0, R2 = R1 -|- R0 (S , ASL);
11 _DBG R0;
12 _DBG R2;
13 CHECKREG R0, 0x80007fff;
14 CHECKREG R2, 0x80007fff;
15
16 R0 = ASTAT;
17 _dbg r0;
18 DBGA ( R0.L , 0x000a );
19 DBGA ( R0.H , 0x0300 );
20
21 R0 = 0;
22 R1 = 0;
23 R4 = 0;
24 ASTAT = R0;
25 R4 = R1 +|+ R0, R0 = R1 -|- R0 (S , ASL);
26 _DBG R4;
27 _DBG R0;
28 R7 = ASTAT;
29 _DBG R7;
30 _DBG ASTAT;
31 DBGA ( R7.L , 0x0001 );
32 DBGA ( R7.H , 0x0000 );
33
34 pass
This page took 0.035852 seconds and 4 git commands to generate.