* elf32-ppc.c (ppc_elf_check_relocs): Set pointer_equality_needed
[binutils.git] / gas / testsuite / gas / maxq20 / data3.s
blobc3cdbbb43eba1afa412ac7409bb6f5ca59993611
1 ;# data.s
2 ;# checks all the data transfer instructions
3 foo:
4 MOVE DPC, #01h
5 MOVE DPC, AP
6 MOVE DPC, APC
7 MOVE DPC, PSF
8 MOVE DPC, IC
9 MOVE DPC, IMR
10 MOVE DPC, SC
11 MOVE DPC, IIR
12 MOVE DPC, CKCN
13 MOVE DPC, WDCN
14 MOVE DPC, A[0] ;Just Check two boundary conditions
15 MOVE DPC, A[15]
16 MOVE DPC, ACC
17 MOVE DPC, A[AP]
18 MOVE DPC, IP
19 MOVE DPC, @SP--
20 MOVE DPC, SP
21 MOVE DPC, IV
22 MOVE DPC, LC[0]
23 MOVE DPC, LC[1]
24 MOVE DPC, @BP[OFFS++]
25 MOVE DPC, @BP[OFFS--]
26 MOVE DPC, OFFS
27 MOVE DPC, GR
28 MOVE DPC, GRL
29 MOVE DPC, BP
30 MOVE DPC, GRS
31 MOVE DPC, GRH
32 MOVE DPC, GRXL
33 MOVE DPC, FP
34 MOVE DPC, @DP[0]
35 MOVE DPC, @DP[1]
36 MOVE DPC, @DP[0]++
37 MOVE DPC, @DP[1]++
38 MOVE DPC, @DP[0]--
39 MOVE DPC, @DP[1]--
40 MOVE GR, #01h
41 MOVE GR, AP
42 MOVE GR, APC
43 MOVE GR, PSF
44 MOVE GR, IC
45 MOVE GR, IMR
46 MOVE GR, SC
47 MOVE GR, IIR
48 MOVE GR, CKCN
49 MOVE GR, WDCN
50 MOVE GR, A[0] ;Just Check two boundary conditions
51 MOVE GR, A[15]
52 MOVE GR, ACC
53 MOVE GR, A[AP]
54 MOVE GR, IP
55 MOVE GR, @SP--
56 MOVE GR, SP
57 MOVE GR, IV
58 MOVE GR, LC[0]
59 MOVE GR, LC[1]
60 MOVE GR, @BP[OFFS++]
61 MOVE GR, @BP[OFFS--]
62 MOVE GR, OFFS
63 MOVE GR, DPC
64 MOVE GR, GRL
65 MOVE GR, BP
66 MOVE GR, GRS
67 MOVE GR, GRH
68 MOVE GR, GRXL
69 MOVE GR, FP
70 MOVE GR, @DP[0]
71 MOVE GR, @DP[1]
72 MOVE GR, @DP[0]++
73 MOVE GR, @DP[1]++
74 MOVE GR, @DP[0]--
75 MOVE GR, @DP[1]--
76 MOVE GRL, #01h
77 MOVE GRL, AP
78 MOVE GRL, APC
79 MOVE GRL, PSF
80 MOVE GRL, IC
81 MOVE GRL, IMR
82 MOVE GRL, SC
83 MOVE GRL, IIR
84 MOVE GRL, CKCN
85 MOVE GRL, WDCN
86 MOVE GRL, A[0] ;Just Check two boundary conditions
87 MOVE GRL, A[15]
88 MOVE GRL, ACC
89 MOVE GRL, A[AP]
90 MOVE GRL, IP
91 MOVE GRL, @SP--
92 MOVE GRL, SP
93 MOVE GRL, IV
94 MOVE GRL, LC[0]
95 MOVE GRL, LC[1]
96 MOVE GRL, @BP[OFFS++]
97 MOVE GRL, @BP[OFFS--]
98 MOVE GRL, OFFS
99 MOVE GRL, DPC
100 MOVE GRL, GR
101 MOVE GRL, BP
102 MOVE GRL, GRS
103 MOVE GRL, GRH
104 MOVE GRL, GRXL
105 MOVE GRL, FP
106 MOVE GRL, @DP[0]
107 MOVE GRL, @DP[1]
108 MOVE GRL, @DP[0]++
109 MOVE GRL, @DP[1]++
110 MOVE GRL, @DP[0]--
111 MOVE GRL, @DP[1]--
112 MOVE BP, #01h
113 MOVE BP, AP
114 MOVE BP, APC
115 MOVE BP, PSF
116 MOVE BP, IC
117 MOVE BP, IMR
118 MOVE BP, SC
119 MOVE BP, IIR
120 MOVE BP, CKCN
121 MOVE BP, WDCN
122 MOVE BP, A[0] ;Just Check two boundary conditions
123 MOVE BP, A[15]
124 MOVE BP, ACC
125 MOVE BP, A[AP]
126 MOVE BP, IP
127 MOVE BP, @SP--
128 MOVE BP, SP
129 MOVE BP, IV
130 MOVE BP, LC[0]
131 MOVE BP, LC[1]
132 MOVE BP, @BP[OFFS++]
133 MOVE BP, @BP[OFFS--]
134 MOVE BP, OFFS
135 MOVE BP, DPC
136 MOVE BP, GR
137 MOVE BP, GRL
138 MOVE BP, GRS
139 MOVE BP, GRH
140 MOVE BP, GRXL
141 MOVE BP, FP
142 MOVE BP, @DP[0]
143 MOVE BP, @DP[1]
144 MOVE BP, @DP[0]++
145 MOVE BP, @DP[1]++
146 MOVE BP, @DP[0]--
147 MOVE BP, @DP[1]--
148 MOVE @DP[0], #01h
149 MOVE @DP[0], AP
150 MOVE @DP[0], APC
151 MOVE @DP[0], PSF
152 MOVE @DP[0], IC
153 MOVE @DP[0], IMR
154 MOVE @DP[0], SC
155 MOVE @DP[0], IIR
156 MOVE @DP[0], CKCN
157 MOVE @DP[0], WDCN
158 MOVE @DP[0], A[0] ;Just Check two boundary conditions
159 MOVE @DP[0], A[15]
160 MOVE @DP[0], ACC
161 MOVE @DP[0], A[AP]
162 MOVE @DP[0], IP
163 MOVE @DP[0], @SP--
164 MOVE @DP[0], SP
165 MOVE @DP[0], IV
166 MOVE @DP[0], LC[0]
167 MOVE @DP[0], LC[1]
168 MOVE @DP[0], @BP[OFFS++]
169 MOVE @DP[0], @BP[OFFS--]
170 MOVE @DP[0], OFFS
171 MOVE @DP[0], DPC
172 MOVE @DP[0], GR
173 MOVE @DP[0], GRL
174 MOVE @DP[0], BP
175 MOVE @DP[0], GRS
176 MOVE @DP[0], GRH
177 MOVE @DP[0], GRXL
178 MOVE @DP[0], FP
179 MOVE @++DP[0], #01h
180 MOVE @++DP[0], AP
181 MOVE @++DP[0], APC
182 MOVE @++DP[0], PSF
183 MOVE @++DP[0], IC
184 MOVE @++DP[0], IMR
185 MOVE @++DP[0], SC
186 MOVE @++DP[0], IIR
187 MOVE @++DP[0], CKCN
188 MOVE @++DP[0], WDCN
189 MOVE @++DP[0], A[0] ;Just Check two boundary conditions
190 MOVE @++DP[0], A[15]
191 MOVE @++DP[0], ACC
192 MOVE @++DP[0], A[AP]
193 MOVE @++DP[0], IP
194 MOVE @++DP[0], @SP--
195 MOVE @++DP[0], SP
196 MOVE @++DP[0], IV
197 MOVE @++DP[0], LC[0]
198 MOVE @++DP[0], LC[1]
199 MOVE @++DP[0], @BP[OFFS++]
200 MOVE @++DP[0], @BP[OFFS--]
201 MOVE @++DP[0], OFFS
202 MOVE @++DP[0], DPC
203 MOVE @++DP[0], GR
204 MOVE @++DP[0], GRL
205 MOVE @++DP[0], BP
206 MOVE @++DP[0], GRS
207 MOVE @++DP[0], GRH
208 MOVE @++DP[0], GRXL
209 MOVE @++DP[0], FP
210 MOVE @--DP[0], #01h
211 MOVE @--DP[0], AP
212 MOVE @--DP[0], APC
213 MOVE @--DP[0], PSF
214 MOVE @--DP[0], IC
215 MOVE @--DP[0], IMR
216 MOVE @--DP[0], SC
217 MOVE @--DP[0], IIR
218 MOVE @--DP[0], CKCN
219 MOVE @--DP[0], WDCN
220 MOVE @--DP[0], A[0] ;Just Check two boundary conditions
221 MOVE @--DP[0], A[15]
222 MOVE @--DP[0], ACC
223 MOVE @--DP[0], A[AP]
224 MOVE @--DP[0], IP
225 MOVE @--DP[0], @SP--
226 MOVE @--DP[0], SP
227 MOVE @--DP[0], IV
228 MOVE @--DP[0], LC[0]
229 MOVE @--DP[0], LC[1]
230 MOVE @--DP[0], @BP[OFFS++]
231 MOVE @--DP[0], @BP[OFFS--]
232 MOVE @--DP[0], OFFS
233 MOVE @--DP[0], DPC
234 MOVE @--DP[0], GR
235 MOVE @--DP[0], GRL
236 MOVE @--DP[0], BP
237 MOVE @--DP[0], GRS
238 MOVE @--DP[0], GRH
239 MOVE @--DP[0], GRXL
240 MOVE @--DP[0], FP
241 MOVE DP[0], #01h
242 MOVE DP[0], AP
243 MOVE DP[0], APC
244 MOVE DP[0], PSF
245 MOVE DP[0], IC
246 MOVE DP[0], IMR
247 MOVE DP[0], SC
248 MOVE DP[0], IIR
249 MOVE DP[0], CKCN
250 MOVE DP[0], WDCN
251 MOVE DP[0], A[0] ;Just Check two boundary conditions
252 MOVE DP[0], A[15]
253 MOVE DP[0], ACC
254 MOVE DP[0], A[AP]
255 MOVE DP[0], IP
256 MOVE DP[0], @SP--
257 MOVE DP[0], SP
258 MOVE DP[0], IV
259 MOVE DP[0], LC[0]
260 MOVE DP[0], LC[1]
261 MOVE DP[0], @BP[OFFS++]
262 MOVE DP[0], @BP[OFFS--]
263 MOVE DP[0], OFFS
264 MOVE DP[0], DPC
265 MOVE DP[0], GR
266 MOVE DP[0], GRL
267 MOVE DP[0], BP
268 MOVE DP[0], GRS
269 MOVE DP[0], GRH
270 MOVE DP[0], GRXL
271 MOVE DP[0], FP
272 MOVE SC, #01h
273 MOVE SC, AP
274 MOVE SC, APC
275 MOVE SC, PSF
276 MOVE SC, IC
277 MOVE SC, IMR
278 MOVE SC, IIR
279 MOVE SC, CKCN
280 MOVE SC, WDCN
281 MOVE SC, A[0] ;Just Check two boundary conditions
282 MOVE SC, A[15]
283 MOVE SC, ACC
284 MOVE SC, A[AP]
285 MOVE SC, IP
286 MOVE SC, @SP--
287 MOVE SC, SP
288 MOVE SC, IV
289 MOVE SC, LC[0]
290 MOVE SC, LC[1]
291 MOVE SC, @BP[OFFS++]
292 MOVE SC, @BP[OFFS--]
293 MOVE SC, OFFS
294 MOVE SC, DPC
295 MOVE SC, GR
296 MOVE SC, GRL
297 MOVE SC, BP
298 MOVE SC, GRS
299 MOVE SC, GRH
300 MOVE SC, GRXL
301 MOVE SC, FP
302 MOVE SC, @DP[0]
303 MOVE SC, @DP[1]
304 MOVE SC, @DP[0]++
305 MOVE SC, @DP[1]++
306 MOVE SC, @DP[0]--
307 MOVE SC, @DP[1]--
308 MOVE CKCN, #01h
309 MOVE CKCN, AP
310 MOVE CKCN, APC
311 MOVE CKCN, PSF
312 MOVE CKCN, IC
313 MOVE CKCN, IMR
314 MOVE CKCN, SC
315 MOVE CKCN, IIR
316 MOVE CKCN, WDCN
317 MOVE CKCN, A[0] ;Just Check two boundary conditions
318 MOVE CKCN, A[15]
319 MOVE CKCN, ACC
320 MOVE CKCN, A[AP]
321 MOVE CKCN, IP
322 MOVE CKCN, @SP--
323 MOVE CKCN, SP
324 MOVE CKCN, IV
325 MOVE CKCN, LC[0]
326 MOVE CKCN, LC[1]
327 MOVE CKCN, @BP[OFFS++]
328 MOVE CKCN, @BP[OFFS--]
329 MOVE CKCN, OFFS
330 MOVE CKCN, DPC
331 MOVE CKCN, GR
332 MOVE CKCN, GRL
333 MOVE CKCN, BP
334 MOVE CKCN, GRS
335 MOVE CKCN, GRH
336 MOVE CKCN, GRXL
337 MOVE CKCN, FP
338 MOVE CKCN, @DP[0]
339 MOVE CKCN, @DP[1]
340 MOVE CKCN, @DP[0]++
341 MOVE CKCN, @DP[1]++
342 MOVE CKCN, @DP[0]--
343 MOVE CKCN, @DP[1]--
344 MOVE GRH, #01h
345 MOVE GRH, AP
346 MOVE GRH, APC
347 MOVE GRH, PSF
348 MOVE GRH, IC
349 MOVE GRH, IMR
350 MOVE GRH, SC
351 MOVE GRH, IIR
352 MOVE GRH, CKCN
353 MOVE GRH, WDCN
354 MOVE GRH, A[0] ;Just Check two boundary conditions
355 MOVE GRH, A[15]
356 MOVE GRH, ACC
357 MOVE GRH, A[AP]
358 MOVE GRH, IP
359 MOVE GRH, @SP--
360 MOVE GRH, SP
361 MOVE GRH, IV
362 MOVE GRH, LC[0]
363 MOVE GRH, LC[1]
364 MOVE GRH, @BP[OFFS++]
365 MOVE GRH, @BP[OFFS--]
366 MOVE GRH, OFFS
367 MOVE GRH, DPC
368 MOVE GRH, GR
369 MOVE GRH, GRL
370 MOVE GRH, BP
371 MOVE GRH, GRS
372 MOVE GRH, GRXL
373 MOVE GRH, FP
374 MOVE GRH, @DP[0]
375 MOVE GRH, @DP[1]
376 MOVE GRH, @DP[0]++
377 MOVE GRH, @DP[1]++
378 MOVE GRH, @DP[0]--
379 MOVE GRH, @DP[1]--