Commit | Line | Data |
---|---|---|
0cb5a38a SL |
1 | #objdump: -dr --prefix-addresses --show-raw-insn |
2 | #name: NIOS2 R2 ldh | |
3 | #as: -march=r2 | |
4 | ||
5 | # Test the ld instruction | |
6 | ||
7 | .*: +file format elf32-littlenios2 | |
8 | ||
9 | Disassembly of section .text: | |
10 | 0+0000 <[^>]*> 0000200f ldh r4,0\(zero\) | |
11 | 0+0004 <[^>]*> 0004200f ldh r4,4\(zero\) | |
12 | 0+0008 <[^>]*> 07fc200f ldh r4,2044\(zero\) | |
13 | 0+000c <[^>]*> f800200f ldh r4,-2048\(zero\) | |
14 | 0+0010 <[^>]*> 0000214f ldh r4,0\(r5\) | |
15 | 0+0014 <[^>]*> 0004214f ldh r4,4\(r5\) | |
16 | 0+0018 <[^>]*> 07fc214f ldh r4,2044\(r5\) | |
17 | 0+001c <[^>]*> f800214f ldh r4,-2048\(r5\) | |
18 | 0+0020 <[^>]*> 0000200f ldh r4,0\(zero\) | |
19 | [ ]*20: R_NIOS2_S16 .data | |
20 | 0+0024 <[^>]*> 0000200f ldh r4,0\(zero\) | |
21 | [ ]*24: R_NIOS2_S16 big_external_data_label | |
22 | 0+0028 <[^>]*> 0000200f ldh r4,0\(zero\) | |
23 | [ ]*28: R_NIOS2_S16 small_external_data_label | |
24 | 0+002c <[^>]*> 0000200f ldh r4,0\(zero\) | |
25 | [ ]*2c: R_NIOS2_S16 big_external_common | |
26 | 0+0030 <[^>]*> 0000200f ldh r4,0\(zero\) | |
27 | [ ]*30: R_NIOS2_S16 small_external_common | |
28 | 0+0034 <[^>]*> 0000200f ldh r4,0\(zero\) | |
29 | [ ]*34: R_NIOS2_S16 .bss | |
30 | 0+0038 <[^>]*> 0000200f ldh r4,0\(zero\) | |
31 | [ ]*38: R_NIOS2_S16 .bss\+0x400 | |
32 | 0+003c <[^>]*> 0000200f ldh r4,0\(zero\) | |
33 | [ ]*3c: R_NIOS2_S16 .data\+0x4 | |
34 | 0+0040 <[^>]*> 0000200f ldh r4,0\(zero\) | |
35 | [ ]*40: R_NIOS2_S16 big_external_data_label\+0x4 | |
36 | 0+0044 <[^>]*> 0000200f ldh r4,0\(zero\) | |
37 | [ ]*44: R_NIOS2_S16 small_external_data_label\+0x4 | |
38 | 0+0048 <[^>]*> 0000200f ldh r4,0\(zero\) | |
39 | [ ]*48: R_NIOS2_S16 big_external_common\+0x4 | |
40 | 0+004c <[^>]*> 0000200f ldh r4,0\(zero\) | |
41 | [ ]*4c: R_NIOS2_S16 small_external_common\+0x4 | |
42 | 0+0050 <[^>]*> 0000200f ldh r4,0\(zero\) | |
43 | [ ]*50: R_NIOS2_S16 .bss\+0x4 | |
44 | 0+0054 <[^>]*> 0000200f ldh r4,0\(zero\) | |
45 | [ ]*54: R_NIOS2_S16 .bss\+0x404 | |
46 | 0+0058 <[^>]*> 0000200f ldh r4,0\(zero\) | |
47 | [ ]*58: R_NIOS2_S16 .data-0x800 | |
48 | 0+005c <[^>]*> 0000200f ldh r4,0\(zero\) | |
49 | [ ]*5c: R_NIOS2_S16 big_external_data_label-0x800 | |
50 | 0+0060 <[^>]*> 0000200f ldh r4,0\(zero\) | |
51 | [ ]*60: R_NIOS2_S16 small_external_data_label-0x800 | |
52 | 0+0064 <[^>]*> 0000200f ldh r4,0\(zero\) | |
53 | [ ]*64: R_NIOS2_S16 big_external_common-0x800 | |
54 | 0+0068 <[^>]*> 0000200f ldh r4,0\(zero\) | |
55 | [ ]*68: R_NIOS2_S16 small_external_common-0x800 | |
56 | 0+006c <[^>]*> 0000200f ldh r4,0\(zero\) | |
57 | [ ]*6c: R_NIOS2_S16 .bss-0x800 | |
58 | 0+0070 <[^>]*> 0000200f ldh r4,0\(zero\) | |
59 | [ ]*70: R_NIOS2_S16 .bss-0x400 | |
60 | 0+0074 <[^>]*> 0000200f ldh r4,0\(zero\) | |
61 | [ ]*74: R_NIOS2_S16 .data\+0x10000 | |
62 | 0+0078 <[^>]*> 0000214f ldh r4,0\(r5\) | |
63 | [ ]*78: R_NIOS2_S16 .data | |
64 | 0+007c <[^>]*> 0000214f ldh r4,0\(r5\) | |
65 | [ ]*7c: R_NIOS2_S16 big_external_data_label | |
66 | 0+0080 <[^>]*> 0000214f ldh r4,0\(r5\) | |
67 | [ ]*80: R_NIOS2_S16 small_external_data_label | |
68 | 0+0084 <[^>]*> 0000214f ldh r4,0\(r5\) | |
69 | [ ]*84: R_NIOS2_S16 big_external_common | |
70 | 0+0088 <[^>]*> 0000214f ldh r4,0\(r5\) | |
71 | [ ]*88: R_NIOS2_S16 small_external_common | |
72 | 0+008c <[^>]*> 0000214f ldh r4,0\(r5\) | |
73 | [ ]*8c: R_NIOS2_S16 .bss | |
74 | 0+0090 <[^>]*> 0000214f ldh r4,0\(r5\) | |
75 | [ ]*90: R_NIOS2_S16 .bss\+0x400 | |
76 | 0+0094 <[^>]*> 0000214f ldh r4,0\(r5\) | |
77 | [ ]*94: R_NIOS2_S16 .data\+0x4 | |
78 | 0+0098 <[^>]*> 0000214f ldh r4,0\(r5\) | |
79 | [ ]*98: R_NIOS2_S16 big_external_data_label\+0x4 | |
80 | 0+009c <[^>]*> 0000214f ldh r4,0\(r5\) | |
81 | [ ]*9c: R_NIOS2_S16 small_external_data_label\+0x4 | |
82 | 0+00a0 <[^>]*> 0000214f ldh r4,0\(r5\) | |
83 | [ ]*a0: R_NIOS2_S16 big_external_common\+0x4 | |
84 | 0+00a4 <[^>]*> 0000214f ldh r4,0\(r5\) | |
85 | [ ]*a4: R_NIOS2_S16 small_external_common\+0x4 | |
86 | 0+00a8 <[^>]*> 0000214f ldh r4,0\(r5\) | |
87 | [ ]*a8: R_NIOS2_S16 .bss\+0x4 | |
88 | 0+00ac <[^>]*> 0000214f ldh r4,0\(r5\) | |
89 | [ ]*ac: R_NIOS2_S16 .bss\+0x404 | |
90 | 0+00b0 <[^>]*> 0000214f ldh r4,0\(r5\) | |
91 | [ ]*b0: R_NIOS2_S16 .data-0x800 | |
92 | 0+00b4 <[^>]*> 0000214f ldh r4,0\(r5\) | |
93 | [ ]*b4: R_NIOS2_S16 big_external_data_label-0x800 | |
94 | 0+00b8 <[^>]*> 0000214f ldh r4,0\(r5\) | |
95 | [ ]*b8: R_NIOS2_S16 small_external_data_label-0x800 | |
96 | 0+00bc <[^>]*> 0000214f ldh r4,0\(r5\) | |
97 | [ ]*bc: R_NIOS2_S16 big_external_common-0x800 | |
98 | 0+00c0 <[^>]*> 0000214f ldh r4,0\(r5\) | |
99 | [ ]*c0: R_NIOS2_S16 small_external_common-0x800 | |
100 | 0+00c4 <[^>]*> 0000214f ldh r4,0\(r5\) | |
101 | [ ]*c4: R_NIOS2_S16 .bss-0x800 | |
102 | 0+00c8 <[^>]*> 0000214f ldh r4,0\(r5\) | |
103 | [ ]*c8: R_NIOS2_S16 .bss-0x400 | |
104 | 0+00cc <[^>]*> 40002028 ldhio r4,0\(zero\) | |
105 | 0+00d0 <[^>]*> 40042028 ldhio r4,4\(zero\) | |
106 | 0+00d4 <[^>]*> 47fc2028 ldhio r4,2044\(zero\) | |
107 | 0+00d8 <[^>]*> 48002028 ldhio r4,-2048\(zero\) | |
108 | 0+00dc <[^>]*> 40002168 ldhio r4,0\(r5\) | |
109 | 0+00e0 <[^>]*> 40042168 ldhio r4,4\(r5\) | |
110 | 0+00e4 <[^>]*> 47fc2168 ldhio r4,2044\(r5\) | |
111 | 0+00e8 <[^>]*> 48002168 ldhio r4,-2048\(r5\) | |
112 | 0+00ec <[^>]*> 40002028 ldhio r4,0\(zero\) | |
113 | [ ]*ec: R_NIOS2_R2_S12 .data | |
114 | 0+00f0 <[^>]*> 40002028 ldhio r4,0\(zero\) | |
115 | [ ]*f0: R_NIOS2_R2_S12 big_external_data_label | |
116 | 0+00f4 <[^>]*> 40002028 ldhio r4,0\(zero\) | |
117 | [ ]*f4: R_NIOS2_R2_S12 small_external_data_label | |
118 | 0+00f8 <[^>]*> 40002028 ldhio r4,0\(zero\) | |
119 | [ ]*f8: R_NIOS2_R2_S12 big_external_common | |
120 | 0+00fc <[^>]*> 40002028 ldhio r4,0\(zero\) | |
121 | [ ]*fc: R_NIOS2_R2_S12 small_external_common | |
122 | 0+0100 <[^>]*> 40002028 ldhio r4,0\(zero\) | |
123 | [ ]*100: R_NIOS2_R2_S12 .bss | |
124 | 0+0104 <[^>]*> 40002028 ldhio r4,0\(zero\) | |
125 | [ ]*104: R_NIOS2_R2_S12 .bss\+0x400 | |
126 | 0+0108 <[^>]*> 40002028 ldhio r4,0\(zero\) | |
127 | [ ]*108: R_NIOS2_R2_S12 .data\+0x4 | |
128 | 0+010c <[^>]*> 40002028 ldhio r4,0\(zero\) | |
129 | [ ]*10c: R_NIOS2_R2_S12 big_external_data_label\+0x4 | |
130 | 0+0110 <[^>]*> 40002028 ldhio r4,0\(zero\) | |
131 | [ ]*110: R_NIOS2_R2_S12 small_external_data_label\+0x4 | |
132 | 0+0114 <[^>]*> 40002028 ldhio r4,0\(zero\) | |
133 | [ ]*114: R_NIOS2_R2_S12 big_external_common\+0x4 | |
134 | 0+0118 <[^>]*> 40002028 ldhio r4,0\(zero\) | |
135 | [ ]*118: R_NIOS2_R2_S12 small_external_common\+0x4 | |
136 | 0+011c <[^>]*> 40002028 ldhio r4,0\(zero\) | |
137 | [ ]*11c: R_NIOS2_R2_S12 .bss\+0x4 | |
138 | 0+0120 <[^>]*> 40002028 ldhio r4,0\(zero\) | |
139 | [ ]*120: R_NIOS2_R2_S12 .bss\+0x404 | |
140 | 0+0124 <[^>]*> 40002028 ldhio r4,0\(zero\) | |
141 | [ ]*124: R_NIOS2_R2_S12 .data-0x800 | |
142 | 0+0128 <[^>]*> 40002028 ldhio r4,0\(zero\) | |
143 | [ ]*128: R_NIOS2_R2_S12 big_external_data_label-0x800 | |
144 | 0+012c <[^>]*> 40002028 ldhio r4,0\(zero\) | |
145 | [ ]*12c: R_NIOS2_R2_S12 small_external_data_label-0x800 | |
146 | 0+0130 <[^>]*> 40002028 ldhio r4,0\(zero\) | |
147 | [ ]*130: R_NIOS2_R2_S12 big_external_common-0x800 | |
148 | 0+0134 <[^>]*> 40002028 ldhio r4,0\(zero\) | |
149 | [ ]*134: R_NIOS2_R2_S12 small_external_common-0x800 | |
150 | 0+0138 <[^>]*> 40002028 ldhio r4,0\(zero\) | |
151 | [ ]*138: R_NIOS2_R2_S12 .bss-0x800 | |
152 | 0+013c <[^>]*> 40002028 ldhio r4,0\(zero\) | |
153 | [ ]*13c: R_NIOS2_R2_S12 .bss-0x400 | |
154 | 0+0140 <[^>]*> 40002028 ldhio r4,0\(zero\) | |
155 | [ ]*140: R_NIOS2_R2_S12 .data\+0x10000 | |
156 | 0+0144 <[^>]*> 40002168 ldhio r4,0\(r5\) | |
157 | [ ]*144: R_NIOS2_R2_S12 .data | |
158 | 0+0148 <[^>]*> 40002168 ldhio r4,0\(r5\) | |
159 | [ ]*148: R_NIOS2_R2_S12 big_external_data_label | |
160 | 0+014c <[^>]*> 40002168 ldhio r4,0\(r5\) | |
161 | [ ]*14c: R_NIOS2_R2_S12 small_external_data_label | |
162 | 0+0150 <[^>]*> 40002168 ldhio r4,0\(r5\) | |
163 | [ ]*150: R_NIOS2_R2_S12 big_external_common | |
164 | 0+0154 <[^>]*> 40002168 ldhio r4,0\(r5\) | |
165 | [ ]*154: R_NIOS2_R2_S12 small_external_common | |
166 | 0+0158 <[^>]*> 40002168 ldhio r4,0\(r5\) | |
167 | [ ]*158: R_NIOS2_R2_S12 .bss | |
168 | 0+015c <[^>]*> 40002168 ldhio r4,0\(r5\) | |
169 | [ ]*15c: R_NIOS2_R2_S12 .bss\+0x400 | |
170 | 0+0160 <[^>]*> 40002168 ldhio r4,0\(r5\) | |
171 | [ ]*160: R_NIOS2_R2_S12 .data\+0x4 | |
172 | 0+0164 <[^>]*> 40002168 ldhio r4,0\(r5\) | |
173 | [ ]*164: R_NIOS2_R2_S12 big_external_data_label\+0x4 | |
174 | 0+0168 <[^>]*> 40002168 ldhio r4,0\(r5\) | |
175 | [ ]*168: R_NIOS2_R2_S12 small_external_data_label\+0x4 | |
176 | 0+016c <[^>]*> 40002168 ldhio r4,0\(r5\) | |
177 | [ ]*16c: R_NIOS2_R2_S12 big_external_common\+0x4 | |
178 | 0+0170 <[^>]*> 40002168 ldhio r4,0\(r5\) | |
179 | [ ]*170: R_NIOS2_R2_S12 small_external_common\+0x4 | |
180 | 0+0174 <[^>]*> 40002168 ldhio r4,0\(r5\) | |
181 | [ ]*174: R_NIOS2_R2_S12 .bss\+0x4 | |
182 | 0+0178 <[^>]*> 40002168 ldhio r4,0\(r5\) | |
183 | [ ]*178: R_NIOS2_R2_S12 .bss\+0x404 | |
184 | 0+017c <[^>]*> 40002168 ldhio r4,0\(r5\) | |
185 | [ ]*17c: R_NIOS2_R2_S12 .data-0x800 | |
186 | 0+0180 <[^>]*> 40002168 ldhio r4,0\(r5\) | |
187 | [ ]*180: R_NIOS2_R2_S12 big_external_data_label-0x800 | |
188 | 0+0184 <[^>]*> 40002168 ldhio r4,0\(r5\) | |
189 | [ ]*184: R_NIOS2_R2_S12 small_external_data_label-0x800 | |
190 | 0+0188 <[^>]*> 40002168 ldhio r4,0\(r5\) | |
191 | [ ]*188: R_NIOS2_R2_S12 big_external_common-0x800 | |
192 | 0+018c <[^>]*> 40002168 ldhio r4,0\(r5\) | |
193 | [ ]*18c: R_NIOS2_R2_S12 small_external_common-0x800 | |
194 | 0+0190 <[^>]*> 40002168 ldhio r4,0\(r5\) | |
195 | [ ]*190: R_NIOS2_R2_S12 .bss-0x800 | |
196 | 0+0194 <[^>]*> 40002168 ldhio r4,0\(r5\) | |
197 | [ ]*194: R_NIOS2_R2_S12 .bss-0x400 |