1 |
205 |
julius |
# Source file used to test the lca 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 |
|
|
lca $4,0
|
14 |
|
|
lca $4,1
|
15 |
|
|
lca $4,0x8000
|
16 |
|
|
lca $4,-0x8000
|
17 |
|
|
lca $4,0x10000
|
18 |
|
|
lca $4,0x1a5a5
|
19 |
|
|
lca $4,0($5)
|
20 |
|
|
lca $4,1($5)
|
21 |
|
|
lca $4,0x8000($5)
|
22 |
|
|
lca $4,-0x8000($5)
|
23 |
|
|
lca $4,0x10000($5)
|
24 |
|
|
lca $4,0x1a5a5($5)
|
25 |
|
|
lca $4,data_label
|
26 |
|
|
lca $4,big_external_data_label
|
27 |
|
|
lca $4,small_external_data_label
|
28 |
|
|
lca $4,big_external_common
|
29 |
|
|
lca $4,small_external_common
|
30 |
|
|
lca $4,big_local_common
|
31 |
|
|
lca $4,small_local_common
|
32 |
|
|
lca $4,data_label+1
|
33 |
|
|
lca $4,big_external_data_label+1
|
34 |
|
|
lca $4,small_external_data_label+1
|
35 |
|
|
lca $4,big_external_common+1
|
36 |
|
|
lca $4,small_external_common+1
|
37 |
|
|
lca $4,big_local_common+1
|
38 |
|
|
lca $4,small_local_common+1
|
39 |
|
|
lca $4,data_label+0x8000
|
40 |
|
|
lca $4,big_external_data_label+0x8000
|
41 |
|
|
lca $4,small_external_data_label+0x8000
|
42 |
|
|
lca $4,big_external_common+0x8000
|
43 |
|
|
lca $4,small_external_common+0x8000
|
44 |
|
|
lca $4,big_local_common+0x8000
|
45 |
|
|
lca $4,small_local_common+0x8000
|
46 |
|
|
lca $4,data_label-0x8000
|
47 |
|
|
lca $4,big_external_data_label-0x8000
|
48 |
|
|
lca $4,small_external_data_label-0x8000
|
49 |
|
|
lca $4,big_external_common-0x8000
|
50 |
|
|
lca $4,small_external_common-0x8000
|
51 |
|
|
lca $4,big_local_common-0x8000
|
52 |
|
|
lca $4,small_local_common-0x8000
|
53 |
|
|
lca $4,data_label+0x10000
|
54 |
|
|
lca $4,big_external_data_label+0x10000
|
55 |
|
|
lca $4,small_external_data_label+0x10000
|
56 |
|
|
lca $4,big_external_common+0x10000
|
57 |
|
|
lca $4,small_external_common+0x10000
|
58 |
|
|
lca $4,big_local_common+0x10000
|
59 |
|
|
lca $4,small_local_common+0x10000
|
60 |
|
|
lca $4,data_label+0x1a5a5
|
61 |
|
|
lca $4,big_external_data_label+0x1a5a5
|
62 |
|
|
lca $4,small_external_data_label+0x1a5a5
|
63 |
|
|
lca $4,big_external_common+0x1a5a5
|
64 |
|
|
lca $4,small_external_common+0x1a5a5
|
65 |
|
|
lca $4,big_local_common+0x1a5a5
|
66 |
|
|
lca $4,small_local_common+0x1a5a5
|
67 |
|
|
lca $4,data_label($5)
|
68 |
|
|
lca $4,big_external_data_label($5)
|
69 |
|
|
lca $4,small_external_data_label($5)
|
70 |
|
|
lca $4,big_external_common($5)
|
71 |
|
|
lca $4,small_external_common($5)
|
72 |
|
|
lca $4,big_local_common($5)
|
73 |
|
|
lca $4,small_local_common($5)
|
74 |
|
|
lca $4,data_label+1($5)
|
75 |
|
|
lca $4,big_external_data_label+1($5)
|
76 |
|
|
lca $4,small_external_data_label+1($5)
|
77 |
|
|
lca $4,big_external_common+1($5)
|
78 |
|
|
lca $4,small_external_common+1($5)
|
79 |
|
|
lca $4,big_local_common+1($5)
|
80 |
|
|
lca $4,small_local_common+1($5)
|
81 |
|
|
lca $4,data_label+0x8000($5)
|
82 |
|
|
lca $4,big_external_data_label+0x8000($5)
|
83 |
|
|
lca $4,small_external_data_label+0x8000($5)
|
84 |
|
|
lca $4,big_external_common+0x8000($5)
|
85 |
|
|
lca $4,small_external_common+0x8000($5)
|
86 |
|
|
lca $4,big_local_common+0x8000($5)
|
87 |
|
|
lca $4,small_local_common+0x8000($5)
|
88 |
|
|
lca $4,data_label-0x8000($5)
|
89 |
|
|
lca $4,big_external_data_label-0x8000($5)
|
90 |
|
|
lca $4,small_external_data_label-0x8000($5)
|
91 |
|
|
lca $4,big_external_common-0x8000($5)
|
92 |
|
|
lca $4,small_external_common-0x8000($5)
|
93 |
|
|
lca $4,big_local_common-0x8000($5)
|
94 |
|
|
lca $4,small_local_common-0x8000($5)
|
95 |
|
|
lca $4,data_label+0x10000($5)
|
96 |
|
|
lca $4,big_external_data_label+0x10000($5)
|
97 |
|
|
lca $4,small_external_data_label+0x10000($5)
|
98 |
|
|
lca $4,big_external_common+0x10000($5)
|
99 |
|
|
lca $4,small_external_common+0x10000($5)
|
100 |
|
|
lca $4,big_local_common+0x10000($5)
|
101 |
|
|
lca $4,small_local_common+0x10000($5)
|
102 |
|
|
lca $4,data_label+0x1a5a5($5)
|
103 |
|
|
lca $4,big_external_data_label+0x1a5a5($5)
|
104 |
|
|
lca $4,small_external_data_label+0x1a5a5($5)
|
105 |
|
|
lca $4,big_external_common+0x1a5a5($5)
|
106 |
|
|
lca $4,small_external_common+0x1a5a5($5)
|
107 |
|
|
lca $4,big_local_common+0x1a5a5($5)
|
108 |
|
|
lca $4,small_local_common+0x1a5a5($5)
|
109 |
|
|
|
110 |
|
|
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
|
111 |
|
|
.space 8
|