1; Test that pc-relative expressions give expected results for
2; various expressions.
3 .text
4 .syntax no_register_prefix
5 .space 10
6x:
7 .space 30
8xx:
9 move.d y-.,r10
10 move.d x-.,r10
11 move.d y-(.+6),r10
12 move.d x-(.+6),r10
13 move.d y-.-6,r10
14 move.d x-.-6,r10
15 move.d [pc+y-(.+12)],r3
16 move.d [pc+x-(.+2)],r3
17 move.d [pc+y-(y00-2)],r3
18y00:
19 move.d [pc+x-(y01-2)],r3
20y01:
21 move.d [pc+y-y02+2],r3
22y02:
23 move.d [pc+x-y03+2],r3
24y03:
25 .space 50
26y:
27 nop
28 .space 1000
29 move.d [pc+yy-(.+2)],r3
30 move.d [pc+x-(.+2)],r3
31 move.d [pc+yy-(yy00-2)],r3
32yy00:
33 move.d [pc+x-(yy01-2)],r3
34yy01:
35 move.d [pc+yy-yy02+2],r3
36yy02:
37 move.d [pc+x-yy03+2],r3
38yy03:
39 .space 1000
40yy:
41 nop
42 .space 100000
43 move.d [pc+z-(.+2)],r3
44 move.d [pc+x-(.+2)],r3
45 move.d [pc+z-(z00-2)],r3
46z00:
47 move.d [pc+x-(z01-2)],r3
48z01:
49 move.d [pc+z-z02+2],r3
50z02:
51 move.d [pc+x-z03+2],r3
52z03:
53 .space 100000
54z:
55 nop
56
57