Automatic date update in version.in
[deliverable/binutils-gdb.git] / sim / testsuite / bfin / c_progctrl_call_pr.s
1 //Original:/testcases/core/c_progctrl_call_pr/c_progctrl_call_pr.dsp
2 // Spec Reference: progctrl call (pr)
3 # mach: bfin
4
5 .include "testutils.inc"
6 start
7
8 INIT_R_REGS 0;
9
10 ASTAT = r0;
11
12 FP = SP;
13
14 loadsym P1, SUBR;
15 CALL ( P1 );
16
17 CHECKREG r0, 0x00000000;
18 CHECKREG r1, 0x00001111;
19 CHECKREG r2, 0x00000000;
20 CHECKREG r3, 0x00000000;
21 CHECKREG r4, 0x00000000;
22 CHECKREG r5, 0x00000000;
23 CHECKREG r6, 0x00000000;
24 CHECKREG r7, 0x00000000;
25
26 pass
27
28 SUBR: // should jump here
29 R1.L = 0x1111;
30 RTS;
31 R2.L = 0x2222; // should not go here
32 RTS;
This page took 0.030852 seconds and 4 git commands to generate.