1 | /* |
---|
2 | * Test_037 |
---|
3 | * |
---|
4 | * end_ko : infinite_loop |
---|
5 | * end_ok : Write in R1 the stop address and stop an data |
---|
6 | * The store in the destination of an jump |
---|
7 | * start : Test l.ror |
---|
8 | */ |
---|
9 | |
---|
10 | .file "crt0.s" |
---|
11 | /* |
---|
12 | .section .vector |
---|
13 | */ |
---|
14 | .section .text |
---|
15 | .align 4 |
---|
16 | |
---|
17 | /* ---[ 0x0 : Print a error ]------------------------------------------- */ |
---|
18 | |
---|
19 | .org 0x0 |
---|
20 | _end_ko : |
---|
21 | l.movhi r1, hi(_tty) |
---|
22 | l.ori r1, r1, lo(_tty) |
---|
23 | l.sw 4(r1), r1 /* stop address */ |
---|
24 | _infinite_loop : |
---|
25 | l.j _infinite_loop |
---|
26 | l.nop |
---|
27 | |
---|
28 | _end_ok : |
---|
29 | l.movhi r1, hi(_tty) |
---|
30 | l.ori r1, r1, lo(_tty) |
---|
31 | l.sw 4(r1), r0 /* stop address */ |
---|
32 | |
---|
33 | |
---|
34 | /* ---[ 0x100: RESET exception ]----------------------------------------- */ |
---|
35 | .org 0x100 |
---|
36 | .global _start |
---|
37 | _start: |
---|
38 | /* |
---|
39 | A (r1) B (r2) - D (r3 wait) |
---|
40 | (r4) |
---|
41 | 01) 0xdeadbeef 0x00000000 - 0xdeadbeef |
---|
42 | 02) 0xdeadbeef 0x00000001 - 0xef56df77 |
---|
43 | 03) 0xdeadbeef 0x00000002 - 0xf7ab6fbb |
---|
44 | 04) 0xdeadbeef 0x00000003 - 0xfbd5b7dd |
---|
45 | 05) 0xdeadbeef 0x00000004 - 0xfdeadbee |
---|
46 | 06) 0xdeadbeef 0x00000005 - 0x7ef56df7 |
---|
47 | 07) 0xdeadbeef 0x00000006 - 0xbf7ab6fb |
---|
48 | 08) 0xdeadbeef 0x00000007 - 0xdfbd5b7d |
---|
49 | 09) 0xdeadbeef 0x00000008 - 0xefdeadbe |
---|
50 | 10) 0xdeadbeef 0x00000009 - 0x77ef56df |
---|
51 | 11) 0xdeadbeef 0x0000000a - 0xbbf7ab6f |
---|
52 | 12) 0xdeadbeef 0x0000000b - 0xddfbd5b7 |
---|
53 | 13) 0xdeadbeef 0x0000000c - 0xeefdeadb |
---|
54 | 14) 0xdeadbeef 0x0000000d - 0xf77ef56d |
---|
55 | 15) 0xdeadbeef 0x0000000e - 0xfbbf7ab6 |
---|
56 | 16) 0xdeadbeef 0x0000000f - 0x7ddfbd5b |
---|
57 | 17) 0xdeadbeef 0x00000010 - 0xbeefdead |
---|
58 | 18) 0xdeadbeef 0x00000011 - 0xdf77ef56 |
---|
59 | 19) 0xdeadbeef 0x00000012 - 0x6fbbf7ab |
---|
60 | 20) 0xdeadbeef 0x00000013 - 0xb7ddfbd5 |
---|
61 | 21) 0xdeadbeef 0x00000014 - 0xdbeefdea |
---|
62 | 22) 0xdeadbeef 0x00000015 - 0x6df77ef5 |
---|
63 | 23) 0xdeadbeef 0x00000016 - 0xb6fbbf7a |
---|
64 | 24) 0xdeadbeef 0x00000017 - 0x5b7ddfbd |
---|
65 | 25) 0xdeadbeef 0x00000018 - 0xadbeefde |
---|
66 | 26) 0xdeadbeef 0x00000019 - 0x56df77ef |
---|
67 | 27) 0xdeadbeef 0x0000001a - 0xab6fbbf7 |
---|
68 | 28) 0xdeadbeef 0x0000001b - 0xd5b7ddfb |
---|
69 | 29) 0xdeadbeef 0x0000001c - 0xeadbeefd |
---|
70 | 30) 0xdeadbeef 0x0000001d - 0xf56df77e |
---|
71 | 31) 0xdeadbeef 0x0000001e - 0x7ab6fbbf |
---|
72 | 32) 0xdeadbeef 0x0000001f - 0xbd5b7ddf |
---|
73 | 33) 0xdeadbeef 0x00000020 - 0xdeadbeef |
---|
74 | 34) 0xdeadbeef 0x00000021 - 0xef56df77 |
---|
75 | 35) 0xdeadbeef 0x00000022 - 0xf7ab6fbb |
---|
76 | */ |
---|
77 | |
---|
78 | /***********/ |
---|
79 | /* Test 1 */ |
---|
80 | /***********/ |
---|
81 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
82 | l.ori r1, r1, lo(0xdeadbeef) |
---|
83 | l.movhi r2, hi(0x00000000) /* RA */ |
---|
84 | l.ori r2, r2, lo(0x00000000) |
---|
85 | l.movhi r3, hi(0xdeadbeef) /* RD wait */ |
---|
86 | l.ori r3, r3, lo(0xdeadbeef) |
---|
87 | |
---|
88 | l.ror r4, r1, r2 |
---|
89 | |
---|
90 | /* Test result */ |
---|
91 | l.sfeq r3, r4 |
---|
92 | l.bnf _end_ko |
---|
93 | l.nop |
---|
94 | |
---|
95 | /***********/ |
---|
96 | /* Test 2 */ |
---|
97 | /***********/ |
---|
98 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
99 | l.ori r1, r1, lo(0xdeadbeef) |
---|
100 | l.movhi r2, hi(0x00000001) /* RA */ |
---|
101 | l.ori r2, r2, lo(0x00000001) |
---|
102 | l.movhi r3, hi(0xef56df77) /* RD wait */ |
---|
103 | l.ori r3, r3, lo(0xef56df77) |
---|
104 | |
---|
105 | l.ror r4, r1, r2 |
---|
106 | |
---|
107 | /* Test result */ |
---|
108 | l.sfeq r3, r4 |
---|
109 | l.bnf _end_ko |
---|
110 | l.nop |
---|
111 | |
---|
112 | /***********/ |
---|
113 | /* Test 3 */ |
---|
114 | /***********/ |
---|
115 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
116 | l.ori r1, r1, lo(0xdeadbeef) |
---|
117 | l.movhi r2, hi(0x00000002) /* RA */ |
---|
118 | l.ori r2, r2, lo(0x00000002) |
---|
119 | l.movhi r3, hi(0xf7ab6fbb) /* RD wait */ |
---|
120 | l.ori r3, r3, lo(0xf7ab6fbb) |
---|
121 | |
---|
122 | l.ror r4, r1, r2 |
---|
123 | |
---|
124 | /* Test result */ |
---|
125 | l.sfeq r3, r4 |
---|
126 | l.bnf _end_ko |
---|
127 | l.nop |
---|
128 | |
---|
129 | /***********/ |
---|
130 | /* Test 4 */ |
---|
131 | /***********/ |
---|
132 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
133 | l.ori r1, r1, lo(0xdeadbeef) |
---|
134 | l.movhi r2, hi(0x00000003) /* RA */ |
---|
135 | l.ori r2, r2, lo(0x00000003) |
---|
136 | l.movhi r3, hi(0xfbd5b7dd) /* RD wait */ |
---|
137 | l.ori r3, r3, lo(0xfbd5b7dd) |
---|
138 | |
---|
139 | l.ror r4, r1, r2 |
---|
140 | |
---|
141 | /* Test result */ |
---|
142 | l.sfeq r3, r4 |
---|
143 | l.bnf _end_ko |
---|
144 | l.nop |
---|
145 | |
---|
146 | /***********/ |
---|
147 | /* Test 5 */ |
---|
148 | /***********/ |
---|
149 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
150 | l.ori r1, r1, lo(0xdeadbeef) |
---|
151 | l.movhi r2, hi(0x00000004) /* RA */ |
---|
152 | l.ori r2, r2, lo(0x00000004) |
---|
153 | l.movhi r3, hi(0xfdeadbee) /* RD wait */ |
---|
154 | l.ori r3, r3, lo(0xfdeadbee) |
---|
155 | |
---|
156 | l.ror r4, r1, r2 |
---|
157 | |
---|
158 | /* Test result */ |
---|
159 | l.sfeq r3, r4 |
---|
160 | l.bnf _end_ko |
---|
161 | l.nop |
---|
162 | |
---|
163 | /***********/ |
---|
164 | /* Test 6 */ |
---|
165 | /***********/ |
---|
166 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
167 | l.ori r1, r1, lo(0xdeadbeef) |
---|
168 | l.movhi r2, hi(0x00000005) /* RA */ |
---|
169 | l.ori r2, r2, lo(0x00000005) |
---|
170 | l.movhi r3, hi(0x7ef56df7) /* RD wait */ |
---|
171 | l.ori r3, r3, lo(0x7ef56df7) |
---|
172 | |
---|
173 | l.ror r4, r1, r2 |
---|
174 | |
---|
175 | /* Test result */ |
---|
176 | l.sfeq r3, r4 |
---|
177 | l.bnf _end_ko |
---|
178 | l.nop |
---|
179 | |
---|
180 | /***********/ |
---|
181 | /* Test 7 */ |
---|
182 | /***********/ |
---|
183 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
184 | l.ori r1, r1, lo(0xdeadbeef) |
---|
185 | l.movhi r2, hi(0x00000006) /* RA */ |
---|
186 | l.ori r2, r2, lo(0x00000006) |
---|
187 | l.movhi r3, hi(0xbf7ab6fb) /* RD wait */ |
---|
188 | l.ori r3, r3, lo(0xbf7ab6fb) |
---|
189 | |
---|
190 | l.ror r4, r1, r2 |
---|
191 | |
---|
192 | /* Test result */ |
---|
193 | l.sfeq r3, r4 |
---|
194 | l.bnf _end_ko |
---|
195 | l.nop |
---|
196 | |
---|
197 | /***********/ |
---|
198 | /* Test 8 */ |
---|
199 | /***********/ |
---|
200 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
201 | l.ori r1, r1, lo(0xdeadbeef) |
---|
202 | l.movhi r2, hi(0x00000007) /* RA */ |
---|
203 | l.ori r2, r2, lo(0x00000007) |
---|
204 | l.movhi r3, hi(0xdfbd5b7d) /* RD wait */ |
---|
205 | l.ori r3, r3, lo(0xdfbd5b7d) |
---|
206 | |
---|
207 | l.ror r4, r1, r2 |
---|
208 | |
---|
209 | /* Test result */ |
---|
210 | l.sfeq r3, r4 |
---|
211 | l.bnf _end_ko |
---|
212 | l.nop |
---|
213 | |
---|
214 | /***********/ |
---|
215 | /* Test 9 */ |
---|
216 | /***********/ |
---|
217 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
218 | l.ori r1, r1, lo(0xdeadbeef) |
---|
219 | l.movhi r2, hi(0x00000008) /* RA */ |
---|
220 | l.ori r2, r2, lo(0x00000008) |
---|
221 | l.movhi r3, hi(0xefdeadbe) /* RD wait */ |
---|
222 | l.ori r3, r3, lo(0xefdeadbe) |
---|
223 | |
---|
224 | l.ror r4, r1, r2 |
---|
225 | |
---|
226 | /* Test result */ |
---|
227 | l.sfeq r3, r4 |
---|
228 | l.bnf _end_ko |
---|
229 | l.nop |
---|
230 | |
---|
231 | /***********/ |
---|
232 | /* Test 10 */ |
---|
233 | /***********/ |
---|
234 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
235 | l.ori r1, r1, lo(0xdeadbeef) |
---|
236 | l.movhi r2, hi(0x00000009) /* RA */ |
---|
237 | l.ori r2, r2, lo(0x00000009) |
---|
238 | l.movhi r3, hi(0x77ef56df) /* RD wait */ |
---|
239 | l.ori r3, r3, lo(0x77ef56df) |
---|
240 | |
---|
241 | l.ror r4, r1, r2 |
---|
242 | |
---|
243 | /* Test result */ |
---|
244 | l.sfeq r3, r4 |
---|
245 | l.bnf _end_ko |
---|
246 | l.nop |
---|
247 | |
---|
248 | /***********/ |
---|
249 | /* Test 11 */ |
---|
250 | /***********/ |
---|
251 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
252 | l.ori r1, r1, lo(0xdeadbeef) |
---|
253 | l.movhi r2, hi(0x0000000a) /* RA */ |
---|
254 | l.ori r2, r2, lo(0x0000000a) |
---|
255 | l.movhi r3, hi(0xbbf7ab6f) /* RD wait */ |
---|
256 | l.ori r3, r3, lo(0xbbf7ab6f) |
---|
257 | |
---|
258 | l.ror r4, r1, r2 |
---|
259 | |
---|
260 | /* Test result */ |
---|
261 | l.sfeq r3, r4 |
---|
262 | l.bnf _end_ko |
---|
263 | l.nop |
---|
264 | |
---|
265 | /***********/ |
---|
266 | /* Test 12 */ |
---|
267 | /***********/ |
---|
268 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
269 | l.ori r1, r1, lo(0xdeadbeef) |
---|
270 | l.movhi r2, hi(0x0000000b) /* RA */ |
---|
271 | l.ori r2, r2, lo(0x0000000b) |
---|
272 | l.movhi r3, hi(0xddfbd5b7) /* RD wait */ |
---|
273 | l.ori r3, r3, lo(0xddfbd5b7) |
---|
274 | |
---|
275 | l.ror r4, r1, r2 |
---|
276 | |
---|
277 | /* Test result */ |
---|
278 | l.sfeq r3, r4 |
---|
279 | l.bnf _end_ko |
---|
280 | l.nop |
---|
281 | |
---|
282 | /***********/ |
---|
283 | /* Test 13 */ |
---|
284 | /***********/ |
---|
285 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
286 | l.ori r1, r1, lo(0xdeadbeef) |
---|
287 | l.movhi r2, hi(0x0000000c) /* RA */ |
---|
288 | l.ori r2, r2, lo(0x0000000c) |
---|
289 | l.movhi r3, hi(0xeefdeadb) /* RD wait */ |
---|
290 | l.ori r3, r3, lo(0xeefdeadb) |
---|
291 | |
---|
292 | l.ror r4, r1, r2 |
---|
293 | |
---|
294 | /* Test result */ |
---|
295 | l.sfeq r3, r4 |
---|
296 | l.bnf _end_ko |
---|
297 | l.nop |
---|
298 | |
---|
299 | /***********/ |
---|
300 | /* Test 14 */ |
---|
301 | /***********/ |
---|
302 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
303 | l.ori r1, r1, lo(0xdeadbeef) |
---|
304 | l.movhi r2, hi(0x0000000d) /* RA */ |
---|
305 | l.ori r2, r2, lo(0x0000000d) |
---|
306 | l.movhi r3, hi(0xf77ef56d) /* RD wait */ |
---|
307 | l.ori r3, r3, lo(0xf77ef56d) |
---|
308 | |
---|
309 | l.ror r4, r1, r2 |
---|
310 | |
---|
311 | /* Test result */ |
---|
312 | l.sfeq r3, r4 |
---|
313 | l.bnf _end_ko |
---|
314 | l.nop |
---|
315 | |
---|
316 | /***********/ |
---|
317 | /* Test 15 */ |
---|
318 | /***********/ |
---|
319 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
320 | l.ori r1, r1, lo(0xdeadbeef) |
---|
321 | l.movhi r2, hi(0x0000000e) /* RA */ |
---|
322 | l.ori r2, r2, lo(0x0000000e) |
---|
323 | l.movhi r3, hi(0xfbbf7ab6) /* RD wait */ |
---|
324 | l.ori r3, r3, lo(0xfbbf7ab6) |
---|
325 | |
---|
326 | l.ror r4, r1, r2 |
---|
327 | |
---|
328 | /* Test result */ |
---|
329 | l.sfeq r3, r4 |
---|
330 | l.bnf _end_ko |
---|
331 | l.nop |
---|
332 | |
---|
333 | /***********/ |
---|
334 | /* Test 16 */ |
---|
335 | /***********/ |
---|
336 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
337 | l.ori r1, r1, lo(0xdeadbeef) |
---|
338 | l.movhi r2, hi(0x0000000f) /* RA */ |
---|
339 | l.ori r2, r2, lo(0x0000000f) |
---|
340 | l.movhi r3, hi(0x7ddfbd5b) /* RD wait */ |
---|
341 | l.ori r3, r3, lo(0x7ddfbd5b) |
---|
342 | |
---|
343 | l.ror r4, r1, r2 |
---|
344 | |
---|
345 | /* Test result */ |
---|
346 | l.sfeq r3, r4 |
---|
347 | l.bnf _end_ko |
---|
348 | l.nop |
---|
349 | |
---|
350 | /***********/ |
---|
351 | /* Test 17 */ |
---|
352 | /***********/ |
---|
353 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
354 | l.ori r1, r1, lo(0xdeadbeef) |
---|
355 | l.movhi r2, hi(0x00000010) /* RA */ |
---|
356 | l.ori r2, r2, lo(0x00000010) |
---|
357 | l.movhi r3, hi(0xbeefdead) /* RD wait */ |
---|
358 | l.ori r3, r3, lo(0xbeefdead) |
---|
359 | |
---|
360 | l.ror r4, r1, r2 |
---|
361 | |
---|
362 | /* Test result */ |
---|
363 | l.sfeq r3, r4 |
---|
364 | l.bnf _end_ko |
---|
365 | l.nop |
---|
366 | |
---|
367 | /***********/ |
---|
368 | /* Test 18 */ |
---|
369 | /***********/ |
---|
370 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
371 | l.ori r1, r1, lo(0xdeadbeef) |
---|
372 | l.movhi r2, hi(0x00000011) /* RA */ |
---|
373 | l.ori r2, r2, lo(0x00000011) |
---|
374 | l.movhi r3, hi(0xdf77ef56) /* RD wait */ |
---|
375 | l.ori r3, r3, lo(0xdf77ef56) |
---|
376 | |
---|
377 | l.ror r4, r1, r2 |
---|
378 | |
---|
379 | /* Test result */ |
---|
380 | l.sfeq r3, r4 |
---|
381 | l.bnf _end_ko |
---|
382 | l.nop |
---|
383 | |
---|
384 | /***********/ |
---|
385 | /* Test 19 */ |
---|
386 | /***********/ |
---|
387 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
388 | l.ori r1, r1, lo(0xdeadbeef) |
---|
389 | l.movhi r2, hi(0x00000012) /* RA */ |
---|
390 | l.ori r2, r2, lo(0x00000012) |
---|
391 | l.movhi r3, hi(0x6fbbf7ab) /* RD wait */ |
---|
392 | l.ori r3, r3, lo(0x6fbbf7ab) |
---|
393 | |
---|
394 | l.ror r4, r1, r2 |
---|
395 | |
---|
396 | /* Test result */ |
---|
397 | l.sfeq r3, r4 |
---|
398 | l.bnf _end_ko |
---|
399 | l.nop |
---|
400 | |
---|
401 | /***********/ |
---|
402 | /* Test 20 */ |
---|
403 | /***********/ |
---|
404 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
405 | l.ori r1, r1, lo(0xdeadbeef) |
---|
406 | l.movhi r2, hi(0x00000013) /* RA */ |
---|
407 | l.ori r2, r2, lo(0x00000013) |
---|
408 | l.movhi r3, hi(0xb7ddfbd5) /* RD wait */ |
---|
409 | l.ori r3, r3, lo(0xb7ddfbd5) |
---|
410 | |
---|
411 | l.ror r4, r1, r2 |
---|
412 | |
---|
413 | /* Test result */ |
---|
414 | l.sfeq r3, r4 |
---|
415 | l.bnf _end_ko |
---|
416 | l.nop |
---|
417 | |
---|
418 | /***********/ |
---|
419 | /* Test 21 */ |
---|
420 | /***********/ |
---|
421 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
422 | l.ori r1, r1, lo(0xdeadbeef) |
---|
423 | l.movhi r2, hi(0x00000014) /* RA */ |
---|
424 | l.ori r2, r2, lo(0x00000014) |
---|
425 | l.movhi r3, hi(0xdbeefdea) /* RD wait */ |
---|
426 | l.ori r3, r3, lo(0xdbeefdea) |
---|
427 | |
---|
428 | l.ror r4, r1, r2 |
---|
429 | |
---|
430 | /* Test result */ |
---|
431 | l.sfeq r3, r4 |
---|
432 | l.bnf _end_ko |
---|
433 | l.nop |
---|
434 | |
---|
435 | /***********/ |
---|
436 | /* Test 22 */ |
---|
437 | /***********/ |
---|
438 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
439 | l.ori r1, r1, lo(0xdeadbeef) |
---|
440 | l.movhi r2, hi(0x00000015) /* RA */ |
---|
441 | l.ori r2, r2, lo(0x00000015) |
---|
442 | l.movhi r3, hi(0x6df77ef5) /* RD wait */ |
---|
443 | l.ori r3, r3, lo(0x6df77ef5) |
---|
444 | |
---|
445 | l.ror r4, r1, r2 |
---|
446 | |
---|
447 | /* Test result */ |
---|
448 | l.sfeq r3, r4 |
---|
449 | l.bnf _end_ko |
---|
450 | l.nop |
---|
451 | |
---|
452 | /***********/ |
---|
453 | /* Test 23 */ |
---|
454 | /***********/ |
---|
455 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
456 | l.ori r1, r1, lo(0xdeadbeef) |
---|
457 | l.movhi r2, hi(0x00000016) /* RA */ |
---|
458 | l.ori r2, r2, lo(0x00000016) |
---|
459 | l.movhi r3, hi(0xb6fbbf7a) /* RD wait */ |
---|
460 | l.ori r3, r3, lo(0xb6fbbf7a) |
---|
461 | |
---|
462 | l.ror r4, r1, r2 |
---|
463 | |
---|
464 | /* Test result */ |
---|
465 | l.sfeq r3, r4 |
---|
466 | l.bnf _end_ko |
---|
467 | l.nop |
---|
468 | |
---|
469 | /***********/ |
---|
470 | /* Test 24 */ |
---|
471 | /***********/ |
---|
472 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
473 | l.ori r1, r1, lo(0xdeadbeef) |
---|
474 | l.movhi r2, hi(0x00000017) /* RA */ |
---|
475 | l.ori r2, r2, lo(0x00000017) |
---|
476 | l.movhi r3, hi(0x5b7ddfbd) /* RD wait */ |
---|
477 | l.ori r3, r3, lo(0x5b7ddfbd) |
---|
478 | |
---|
479 | l.ror r4, r1, r2 |
---|
480 | |
---|
481 | /* Test result */ |
---|
482 | l.sfeq r3, r4 |
---|
483 | l.bnf _end_ko |
---|
484 | l.nop |
---|
485 | |
---|
486 | /***********/ |
---|
487 | /* Test 25 */ |
---|
488 | /***********/ |
---|
489 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
490 | l.ori r1, r1, lo(0xdeadbeef) |
---|
491 | l.movhi r2, hi(0x00000018) /* RA */ |
---|
492 | l.ori r2, r2, lo(0x00000018) |
---|
493 | l.movhi r3, hi(0xadbeefde) /* RD wait */ |
---|
494 | l.ori r3, r3, lo(0xadbeefde) |
---|
495 | |
---|
496 | l.ror r4, r1, r2 |
---|
497 | |
---|
498 | /* Test result */ |
---|
499 | l.sfeq r3, r4 |
---|
500 | l.bnf _end_ko |
---|
501 | l.nop |
---|
502 | |
---|
503 | /***********/ |
---|
504 | /* Test 26 */ |
---|
505 | /***********/ |
---|
506 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
507 | l.ori r1, r1, lo(0xdeadbeef) |
---|
508 | l.movhi r2, hi(0x00000019) /* RA */ |
---|
509 | l.ori r2, r2, lo(0x00000019) |
---|
510 | l.movhi r3, hi(0x56df77ef) /* RD wait */ |
---|
511 | l.ori r3, r3, lo(0x56df77ef) |
---|
512 | |
---|
513 | l.ror r4, r1, r2 |
---|
514 | |
---|
515 | /* Test result */ |
---|
516 | l.sfeq r3, r4 |
---|
517 | l.bnf _end_ko |
---|
518 | l.nop |
---|
519 | |
---|
520 | /***********/ |
---|
521 | /* Test 27 */ |
---|
522 | /***********/ |
---|
523 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
524 | l.ori r1, r1, lo(0xdeadbeef) |
---|
525 | l.movhi r2, hi(0x0000001a) /* RA */ |
---|
526 | l.ori r2, r2, lo(0x0000001a) |
---|
527 | l.movhi r3, hi(0xab6fbbf7) /* RD wait */ |
---|
528 | l.ori r3, r3, lo(0xab6fbbf7) |
---|
529 | |
---|
530 | l.ror r4, r1, r2 |
---|
531 | |
---|
532 | /* Test result */ |
---|
533 | l.sfeq r3, r4 |
---|
534 | l.bnf _end_ko |
---|
535 | l.nop |
---|
536 | |
---|
537 | /***********/ |
---|
538 | /* Test 28 */ |
---|
539 | /***********/ |
---|
540 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
541 | l.ori r1, r1, lo(0xdeadbeef) |
---|
542 | l.movhi r2, hi(0x0000001b) /* RA */ |
---|
543 | l.ori r2, r2, lo(0x0000001b) |
---|
544 | l.movhi r3, hi(0xd5b7ddfb) /* RD wait */ |
---|
545 | l.ori r3, r3, lo(0xd5b7ddfb) |
---|
546 | |
---|
547 | l.ror r4, r1, r2 |
---|
548 | |
---|
549 | /* Test result */ |
---|
550 | l.sfeq r3, r4 |
---|
551 | l.bnf _end_ko |
---|
552 | l.nop |
---|
553 | |
---|
554 | /***********/ |
---|
555 | /* Test 29 */ |
---|
556 | /***********/ |
---|
557 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
558 | l.ori r1, r1, lo(0xdeadbeef) |
---|
559 | l.movhi r2, hi(0x0000001c) /* RA */ |
---|
560 | l.ori r2, r2, lo(0x0000001c) |
---|
561 | l.movhi r3, hi(0xeadbeefd) /* RD wait */ |
---|
562 | l.ori r3, r3, lo(0xeadbeefd) |
---|
563 | |
---|
564 | l.ror r4, r1, r2 |
---|
565 | |
---|
566 | /* Test result */ |
---|
567 | l.sfeq r3, r4 |
---|
568 | l.bnf _end_ko |
---|
569 | l.nop |
---|
570 | |
---|
571 | /***********/ |
---|
572 | /* Test 30 */ |
---|
573 | /***********/ |
---|
574 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
575 | l.ori r1, r1, lo(0xdeadbeef) |
---|
576 | l.movhi r2, hi(0x0000001d) /* RA */ |
---|
577 | l.ori r2, r2, lo(0x0000001d) |
---|
578 | l.movhi r3, hi(0xf56df77e) /* RD wait */ |
---|
579 | l.ori r3, r3, lo(0xf56df77e) |
---|
580 | |
---|
581 | l.ror r4, r1, r2 |
---|
582 | |
---|
583 | /* Test result */ |
---|
584 | l.sfeq r3, r4 |
---|
585 | l.bnf _end_ko |
---|
586 | l.nop |
---|
587 | |
---|
588 | /***********/ |
---|
589 | /* Test 31 */ |
---|
590 | /***********/ |
---|
591 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
592 | l.ori r1, r1, lo(0xdeadbeef) |
---|
593 | l.movhi r2, hi(0x0000001e) /* RA */ |
---|
594 | l.ori r2, r2, lo(0x0000001e) |
---|
595 | l.movhi r3, hi(0x7ab6fbbf) /* RD wait */ |
---|
596 | l.ori r3, r3, lo(0x7ab6fbbf) |
---|
597 | |
---|
598 | l.ror r4, r1, r2 |
---|
599 | |
---|
600 | /* Test result */ |
---|
601 | l.sfeq r3, r4 |
---|
602 | l.bnf _end_ko |
---|
603 | l.nop |
---|
604 | |
---|
605 | /***********/ |
---|
606 | /* Test 32 */ |
---|
607 | /***********/ |
---|
608 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
609 | l.ori r1, r1, lo(0xdeadbeef) |
---|
610 | l.movhi r2, hi(0x0000001f) /* RA */ |
---|
611 | l.ori r2, r2, lo(0x0000001f) |
---|
612 | l.movhi r3, hi(0xbd5b7ddf) /* RD wait */ |
---|
613 | l.ori r3, r3, lo(0xbd5b7ddf) |
---|
614 | |
---|
615 | l.ror r4, r1, r2 |
---|
616 | |
---|
617 | /* Test result */ |
---|
618 | l.sfeq r3, r4 |
---|
619 | l.bnf _end_ko |
---|
620 | l.nop |
---|
621 | |
---|
622 | /***********/ |
---|
623 | /* Test 33 */ |
---|
624 | /***********/ |
---|
625 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
626 | l.ori r1, r1, lo(0xdeadbeef) |
---|
627 | l.movhi r2, hi(0x00000020) /* RA */ |
---|
628 | l.ori r2, r2, lo(0x00000020) |
---|
629 | l.movhi r3, hi(0xdeadbeef) /* RD wait */ |
---|
630 | l.ori r3, r3, lo(0xdeadbeef) |
---|
631 | |
---|
632 | l.ror r4, r1, r2 |
---|
633 | |
---|
634 | /* Test result */ |
---|
635 | l.sfeq r3, r4 |
---|
636 | l.bnf _end_ko |
---|
637 | l.nop |
---|
638 | |
---|
639 | /***********/ |
---|
640 | /* Test 34 */ |
---|
641 | /***********/ |
---|
642 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
643 | l.ori r1, r1, lo(0xdeadbeef) |
---|
644 | l.movhi r2, hi(0x00000021) /* RA */ |
---|
645 | l.ori r2, r2, lo(0x00000021) |
---|
646 | l.movhi r3, hi(0xef56df77) /* RD wait */ |
---|
647 | l.ori r3, r3, lo(0xef56df77) |
---|
648 | |
---|
649 | l.ror r4, r1, r2 |
---|
650 | |
---|
651 | /* Test result */ |
---|
652 | l.sfeq r3, r4 |
---|
653 | l.bnf _end_ko |
---|
654 | l.nop |
---|
655 | |
---|
656 | /***********/ |
---|
657 | /* Test 35 */ |
---|
658 | /***********/ |
---|
659 | l.movhi r1, hi(0xdeadbeef) /* RA */ |
---|
660 | l.ori r1, r1, lo(0xdeadbeef) |
---|
661 | l.movhi r2, hi(0x00000022) /* RA */ |
---|
662 | l.ori r2, r2, lo(0x00000022) |
---|
663 | l.movhi r3, hi(0xf7ab6fbb) /* RD wait */ |
---|
664 | l.ori r3, r3, lo(0xf7ab6fbb) |
---|
665 | |
---|
666 | l.ror r4, r1, r2 |
---|
667 | |
---|
668 | /* Test result */ |
---|
669 | l.sfeq r3, r4 |
---|
670 | l.bnf _end_ko |
---|
671 | l.nop |
---|
672 | |
---|
673 | /**********/ |
---|
674 | /* End */ |
---|
675 | /**********/ |
---|
676 | |
---|
677 | l.j _end_ok |
---|
678 | l.nop |
---|