* sim/cris: New directory with C and assembly tests for the CRIS
[deliverable/binutils-gdb.git] / sim / testsuite / sim / cris / asm / bdapm.ms
1 # mach: crisv0 crisv3 crisv8 crisv10
2 # output: 4455aa77\n4455aa77\nee19ccff\nff22\n4455aa77\nff224455\n55aa77ff\n
3
4 .include "testutils.inc"
5 .data
6 x:
7 .dword 0x55aa77ff
8 .dword 0xccff2244
9 .dword 0x88ccee19
10 y:
11 .dword 32769
12 .word -1
13 .dword 5
14 .byte 3,-4
15 .word 2
16 .dword -76789887
17
18 start
19 moveq -1,r0
20 move.d x-32768,r5
21 move.d y,r13
22 bdap.d [r13+],r5
23 move.d [r3],r9
24 test_move_cc 0 0 0 0
25 dumpr3 ; 4455aa77
26
27 addu.w 32770,r5
28 bdap.w [r13+],r5
29 move.d [r9+],r3
30 dumpr3 ; 4455aa77
31
32 bdap.d [r13],r9
33 move.d [r3],r7
34 addq 4,r13
35 dumpr3 ; ee19ccff
36
37 bdap.b [r13+],r5
38 movu.w [r7+],r3
39 dumpr3 ; ff22
40
41 bdap.b [r13],r7
42 move.d [r7+],r3
43 addq 1,r13
44 dumpr3 ; 4455aa77
45
46 bdap.w [r13],r7
47 move.d [r3],r3
48 addq 2,r13
49 dumpr3 ; ff224455
50
51 add.d 76789885,r5
52 bdap.d [r13+],r5
53 move.d [r3],r9
54 dumpr3 ; 55aa77ff
55
56 quit
This page took 0.035054 seconds and 4 git commands to generate.