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