Mon Nov 16 19:27:52 1998 Dave Brolley <brolley@cygnus.com>
[deliverable/binutils-gdb.git] / gas / testsuite / gas / fr30 / allinsn.s
CommitLineData
bb7c5d2a
NC
1 .data
2foodata: .word 42
3 .text
4footext:
5 .text
6 .global add
7add:
8 add r0, r1
9 add #0, r2
10 .text
11 .global add2
12add2:
13 add2 #-1, r3
14 .text
15 .global addc
16addc:
17 addc r4, r5
18 .text
19 .global addn
20addn:
21 addn r6, r7
22 addn #15, r8
23 .text
24 .global addn2
25addn2:
26 addn2 #-16, r9
27 .text
28 .global sub
29sub:
30 sub r10, r11
31 .text
32 .global subc
33subc:
34 subc r12, r13
35 .text
36 .global subn
37subn:
38 subn r14, r15
39 .text
40 .global cmp
41cmp:
42 cmp ac, fp
43 cmp #1, sp
44 .text
45 .global cmp2
46cmp2:
47 cmp2 #-15, r0
48 .text
49 .global and
50and:
51 and r1, r2
52 and r3, @r4
53 .text
54 .global andh
55andh:
56 andh r5, @r6
57 .text
58 .global andb
59andb:
60 andb r7, @r8
61 .text
62 .global or
63or:
64 or r9, r10
65 or r11, @r12
66 .text
67 .global orh
68orh:
69 orh r13, @r14
70 .text
71 .global orb
72orb:
73 orb r15, @ac
74 .text
75 .global eor
76eor:
77 eor fp, sp
78 eor r0, @r1
79 .text
80 .global eorh
81eorh:
82 eorh r2, @r3
83 .text
84 .global eorb
85eorb:
86 eorb r4, @r5
87 .text
88 .global bandl
89bandl:
3c0b1a5c 90 bandl #15, @r6
bb7c5d2a
NC
91 .text
92 .global bandh
93nadh:
94 bandh #7, @r7
95 .text
96 .global borl
97borl:
98 borl #3, @r8
99 .text
100 .global borh
101borh:
102 borh #13, @r9
103 .text
104 .global beorl
105beorl:
106 beorl #15, @r10
107 .text
108 .global beorh
109beorh:
110 beorh #1, @r11
111 .text
112 .global btstl
113btstl:
3c0b1a5c 114 btstl #0, @r12
bb7c5d2a
NC
115 .text
116 .global btsth
117btsth:
3c0b1a5c 118 btsth #8, @r13
bb7c5d2a
NC
119 .text
120 .global mul
121mul:
122 mul r14, r15
123 .text
124 .global mulu
125mulu:
126 mulu ac, fp
127 .text
128 .global muluh
129muluh:
130 muluh sp, r0
131 .text
132 .global mulh
133mulh:
134 mulh r1, r2
135 .text
136 .global div0s
137div0s:
138 div0s r3
139 .text
140 .global div0u
141div0u:
142 div0u r4
143 .text
144 .global div1
145div1:
146 div1 r5
147 .text
148 .global div2
149div2:
150 div2 r6
151 .text
152 .global div3
153div3:
154 div3
155 .text
156 .global div4s
157div4s:
158 div4s
159 .text
160 .global lsl
161lsl:
162 lsl r7, r8
163 lsl #3, r9
164 .text
165 .global lsl2
166lsl2:
167 lsl2 #0, r10
168 .text
169 .global lsr
170lsr:
171 lsr r11, r12
172 lsr #15, r13
173 .text
174 .global lsr2
175lsr2:
176 lsr2 #15, r14
177 .text
178 .global asr
179asr:
180 asr r15, ac
181 asr #6, fp
182 .text
183 .global asr2
184asr2:
185 asr2 #7, sp
186 .text
187 .global ldi_32
188ldi_32:
189 ldi:32 #0x12345678, r0
190 .text
191 .global ldi_20
192ldi_20:
193 ldi:20 #0x000fffff, r1
194 .text
195 .global ldi_8
196ldi_8:
197 ldi:8 #0xff, r2
198 .text
199 .global ld
200ld:
201 ld @r3, r4
3c0b1a5c
NC
202 ld @(R13, r5), r6
203 ld @(R14, 0x1fc), r7
204 ld @(R15, 0x3c), r8
bb7c5d2a 205 ld @r15+, r9
3c0b1a5c 206 ld @R15+, pc
bb7c5d2a 207 ld @r15+, ps
3c0b1a5c 208 ld @R15+, tbr
bb7c5d2a 209 ld @r15+, rp
3c0b1a5c 210 ld @R15+, ssp
bb7c5d2a
NC
211 .text
212 .global lduh
213lduh:
3c0b1a5c 214 lduh @r10, r11
bb7c5d2a 215 lduh @(r13, r12), r13
4229bee9 216 lduh @(r14, #-256), r15
bb7c5d2a
NC
217 .text
218 .global ldub
219ldub:
220 ldub @ac, fp
221 ldub @(r13, sp), r0
222 ldub @(r14, -128), r1
223 .text
224 .global st
225st:
226 st r2, @r3
227 st r4, @(r13, r5)
228 st r6, @(r14, -512)
229 st r7, @(r15, 0x3c)
230 st r8, @ - r15
3c0b1a5c
NC
231 st MDH, @-r15
232 st PS, @ - r15
bb7c5d2a
NC
233 .text
234 .global lsth
235sth:
236 sth r9, @r10
237 sth r11, @(r13, r12)
238 sth r13, @(r14, 128)
239 .text
240 .global stb
241stb:
3c0b1a5c 242 STB r14, @r15
bb7c5d2a 243 stb r0, @(r13, r1)
3c0b1a5c 244 STB r2, @(r14, -128)
bb7c5d2a
NC
245 .text
246 .global mov
247mov:
248 mov r3, r4
3c0b1a5c 249 MOV mdl, r5
bb7c5d2a
NC
250 mov ps, r6
251 mov r7, usp
252 mov r8, ps
253 .text
254 .global jmp
255jmp:
256 jmp @r9
257 .text
258 .global call
259call:
260 call footext
261 call @r10
262 .text
263 .global ret
264ret:
265 ret
266 .text
267 .global int
268int:
269 int #255
270 .text
271 .global inte
272inte:
273 inte
274 .text
275 .global reti
276reti:
277 reti
278 .text
279 .global bra
280bra:
281 bra footext
282 .text
283 .global bno
284bno:
285 bno footext
286 .text
287 .global beq
288beq:
289 beq footext
290 .text
291 .global bne
292bne:
293 bne footext
294 .text
295 .global bc
296bc:
297 bc footext
298 .text
299 .global bnc
300bnc:
301 bnc footext
302 .text
303 .global bn
304bn:
305 bn footext
306 .text
307 .global bp
308bp:
309 bp footext
310 .text
311 .global bv
312bv:
313 bv footext
314 .text
315 .global bnv
316bnv:
317 bnv footext
318 .text
319 .global blt
320blt:
321 blt footext
322 .text
323 .global bge
324bge:
325 bge footext
326 .text
327 .global ble
328ble:
329 ble footext
330 .text
331 .global bgt
332bgt:
333 bgt footext
334 .text
335 .global bls
336bls:
337 bls footext
338 .text
339 .global bhi
340bhi:
341 bhi footext
342 .text
343 .global jmp_d
344jmp_d:
345 jmp:d @r11
346 nop
347 .text
348 .global call_d
349call_d:
3c0b1a5c 350 call:D footext
bb7c5d2a
NC
351 nop
352 call:d @r12
353 nop
354 .text
355 .global ret_d
356ret_d:
357 ret:d
358 nop
359 .text
360 .global bra_d
361bra_d:
3c0b1a5c 362 bra:D footext
bb7c5d2a
NC
363 .text
364 .global bno_d
365bno_d:
366 bno:d footext
367 .text
368 .global beq_d
369beq_d:
3c0b1a5c 370 beq:D footext
bb7c5d2a
NC
371 .text
372 .global bne_d
373bne_d:
374 bne:d footext
375 .text
376 .global bc_d
377bc_d:
378 bc:d footext
379 .text
380 .global bnc_d
381bnc_d:
382 bnc:d footext
383 .text
384 .global bn_d
385bn_d:
386 bn:d footext
387 .text
388 .global bp_d
389bp_d:
390 bp:d footext
391 .text
392 .global bv_d
393bv_d:
394 bv:d footext
395 .text
396 .global bnv_d
397bnv_d:
398 bnv:d footext
399 .text
400 .global blt_d
401blt_d:
402 blt:d footext
403 .text
404 .global bge_d
405bge_d:
406 bge:d footext
407 .text
408 .global ble_d
409ble_d:
410 ble:d footext
411 .text
412 .global bgt_d
413bgt_d:
414 bgt:d footext
415 .text
416 .global bls_d
417bls_d:
418 bls:d footext
419 .text
420 .global bhi_d
421bhi_d:
422 bhi:d footext
423 .text
424 .global dmov
425dmov:
426 dmov @88H, r13
427 dmov r13, @54H
4229bee9 428 dmov @0x44, @r13+
3c0b1a5c 429 dmov @R13+, @2
bb7c5d2a
NC
430 dmov @2cH, @-r15
431 dmov @r15+, @38
432 .text
433 .global dmovh
434dmovh:
435 dmovh @88H, r13
436 dmovh r13, @52h
437 dmovh @0x34, @r13 +
438 dmovh @r13+, @0x52
439 .text
440 .global dmovb
441dmovb:
442 dmovb @91H, r13
443 dmovb r13, @0x53
4229bee9 444 dmovb @71, @r13+
bb7c5d2a
NC
445 dmovb @r13+, @0
446 .text
447 .global ldres
448ldres:
449 ldres @r2+, #8
450 .text
451 .global stres
452stres:
453 stres #15, @r3+
454 .text
455 .global copop
456copop:
457 copop #15, #1, cr3, cr4
458 copop #15, #4, cr5, cr6
459 copop #15, #255, cr7, cr0
460 .text
461 .global copld
462copld:
463 copld #0, #0, r4, cr0
464 .text
465 .global copst
466copst:
467 copst #7, #2, cr1, r5
468 .text
469 .global copsv
470copsv:
471 copsv #8, #3, cr2, r6
472 .text
473 .global nop
474nop:
475 nop
476 .text
477 .global andccr
478andccr:
479 andccr #255
480 .text
481 .global orccr
482orccr:
483 orccr #125
484 .text
485 .global stilm
486stilm:
487 stilm #97
488 .text
489 .global addsp
490addsp:
491 addsp #-512
492 .text
493 .global extsb
494extsb:
495 extsb r9
496 .text
497 .global extub
498extub:
499 extub r10
500 .text
501 .global extsh
502extsh:
503 extsh r11
504 .text
505 .global extuh
506extuh:
507 extuh r12
508 .text
509 .global ldm0
510ldm0:
511 ldm0 (r0, r2, r3, r7)
512 .text
513 .global ldm1
514ldm1:
515 ldm1 (r8, r11, sp)
516 .text
517 .global stm0
518stm0:
519 stm0 (r2, r3)
520 .text
521 .global stm1
522stm1:
523 stm1 (ac, fp)
524 .text
525 .global enter
526enter:
527 enter #1020
528 .text
529 .global leave
530leave:
531 leave
532 .text
533 .global xchb
534xchb:
535 xchb @r14, r15
This page took 0.043009 seconds and 4 git commands to generate.