Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | # Source file used to test the la macro. |
2 | ||
3 | .data | |
4 | data_label: | |
5 | .extern big_external_data_label,1000 | |
6 | .extern small_external_data_label,1 | |
7 | .comm big_external_common,1000 | |
8 | .comm small_external_common,1 | |
9 | .lcomm big_local_common,1000 | |
10 | .lcomm small_local_common,1 | |
11 | ||
12 | .text | |
13 | la $4,0 | |
14 | la $4,1 | |
15 | la $4,0x8000 | |
16 | la $4,-0x8000 | |
17 | la $4,0x10000 | |
18 | la $4,0x1a5a5 | |
19 | la $4,0($5) | |
20 | la $4,1($5) | |
21 | la $4,0x8000($5) | |
22 | la $4,-0x8000($5) | |
23 | la $4,0x10000($5) | |
24 | la $4,0x1a5a5($5) | |
25 | la $4,data_label | |
26 | la $4,big_external_data_label | |
27 | la $4,small_external_data_label | |
28 | la $4,big_external_common | |
29 | la $4,small_external_common | |
30 | la $4,big_local_common | |
31 | la $4,small_local_common | |
32 | la $4,data_label+1 | |
33 | la $4,big_external_data_label+1 | |
34 | la $4,small_external_data_label+1 | |
35 | la $4,big_external_common+1 | |
36 | la $4,small_external_common+1 | |
37 | la $4,big_local_common+1 | |
38 | la $4,small_local_common+1 | |
39 | la $4,data_label+0x8000 | |
40 | la $4,big_external_data_label+0x8000 | |
41 | la $4,small_external_data_label+0x8000 | |
42 | la $4,big_external_common+0x8000 | |
43 | la $4,small_external_common+0x8000 | |
44 | la $4,big_local_common+0x8000 | |
45 | la $4,small_local_common+0x8000 | |
46 | la $4,data_label-0x8000 | |
47 | la $4,big_external_data_label-0x8000 | |
48 | la $4,small_external_data_label-0x8000 | |
49 | la $4,big_external_common-0x8000 | |
50 | la $4,small_external_common-0x8000 | |
51 | la $4,big_local_common-0x8000 | |
52 | la $4,small_local_common-0x8000 | |
53 | la $4,data_label+0x10000 | |
54 | la $4,big_external_data_label+0x10000 | |
55 | la $4,small_external_data_label+0x10000 | |
56 | la $4,big_external_common+0x10000 | |
57 | la $4,small_external_common+0x10000 | |
58 | la $4,big_local_common+0x10000 | |
59 | la $4,small_local_common+0x10000 | |
60 | la $4,data_label+0x1a5a5 | |
61 | la $4,big_external_data_label+0x1a5a5 | |
62 | la $4,small_external_data_label+0x1a5a5 | |
63 | la $4,big_external_common+0x1a5a5 | |
64 | la $4,small_external_common+0x1a5a5 | |
65 | la $4,big_local_common+0x1a5a5 | |
66 | la $4,small_local_common+0x1a5a5 | |
67 | la $4,data_label($5) | |
68 | la $4,big_external_data_label($5) | |
69 | la $4,small_external_data_label($5) | |
70 | la $4,big_external_common($5) | |
71 | la $4,small_external_common($5) | |
72 | la $4,big_local_common($5) | |
73 | la $4,small_local_common($5) | |
74 | la $4,data_label+1($5) | |
75 | la $4,big_external_data_label+1($5) | |
76 | la $4,small_external_data_label+1($5) | |
77 | la $4,big_external_common+1($5) | |
78 | la $4,small_external_common+1($5) | |
79 | la $4,big_local_common+1($5) | |
80 | la $4,small_local_common+1($5) | |
81 | la $4,data_label+0x8000($5) | |
82 | la $4,big_external_data_label+0x8000($5) | |
83 | la $4,small_external_data_label+0x8000($5) | |
84 | la $4,big_external_common+0x8000($5) | |
85 | la $4,small_external_common+0x8000($5) | |
86 | la $4,big_local_common+0x8000($5) | |
87 | la $4,small_local_common+0x8000($5) | |
88 | la $4,data_label-0x8000($5) | |
89 | la $4,big_external_data_label-0x8000($5) | |
90 | la $4,small_external_data_label-0x8000($5) | |
91 | la $4,big_external_common-0x8000($5) | |
92 | la $4,small_external_common-0x8000($5) | |
93 | la $4,big_local_common-0x8000($5) | |
94 | la $4,small_local_common-0x8000($5) | |
95 | la $4,data_label+0x10000($5) | |
96 | la $4,big_external_data_label+0x10000($5) | |
97 | la $4,small_external_data_label+0x10000($5) | |
98 | la $4,big_external_common+0x10000($5) | |
99 | la $4,small_external_common+0x10000($5) | |
100 | la $4,big_local_common+0x10000($5) | |
101 | la $4,small_local_common+0x10000($5) | |
102 | la $4,data_label+0x1a5a5($5) | |
103 | la $4,big_external_data_label+0x1a5a5($5) | |
104 | la $4,small_external_data_label+0x1a5a5($5) | |
105 | la $4,big_external_common+0x1a5a5($5) | |
106 | la $4,small_external_common+0x1a5a5($5) | |
107 | la $4,big_local_common+0x1a5a5($5) | |
108 | la $4,small_local_common+0x1a5a5($5) | |
109 | ||
110 | .ifndef KPIC | |
111 | # Round to a 16 byte boundary, for ease in testing multiple targets. | |
112 | nop | |
113 | nop | |
114 | .endif |