root / tests / tcg / cris / check_movemr.s @ c09015dd
History | View | Annotate | Download (1.1 kB)
1 | dd43edf4 | ths | # mach: crisv3 crisv8 crisv10 crisv32 |
---|---|---|---|
2 | dd43edf4 | ths | # output: 12345678\n10234567\n12345678\n12344567\n12344523\n76543210\nffffffaa\naa\n9911\nffff9911\n78\n56\n3456\n6712\n |
3 | dd43edf4 | ths | |
4 | dd43edf4 | ths | .include "testutils.inc" |
5 | dd43edf4 | ths | start |
6 | dd43edf4 | ths | |
7 | dd43edf4 | ths | .data |
8 | dd43edf4 | ths | mem1: |
9 | dd43edf4 | ths | .dword 0x12345678 |
10 | dd43edf4 | ths | mem2: |
11 | dd43edf4 | ths | .word 0x4567 |
12 | dd43edf4 | ths | mem3: |
13 | dd43edf4 | ths | .byte 0x23 |
14 | dd43edf4 | ths | .dword 0x76543210 |
15 | dd43edf4 | ths | .byte 0xaa,0x11,0x99 |
16 | dd43edf4 | ths | |
17 | dd43edf4 | ths | .text |
18 | dd43edf4 | ths | move.d mem1,r2 |
19 | dd43edf4 | ths | move.d [r2],r3 |
20 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
21 | dd43edf4 | ths | checkr3 12345678 |
22 | dd43edf4 | ths | |
23 | dd43edf4 | ths | move.d mem2,r3 |
24 | dd43edf4 | ths | move.d [r3],r3 |
25 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
26 | dd43edf4 | ths | checkr3 10234567 |
27 | dd43edf4 | ths | |
28 | dd43edf4 | ths | move.d mem1,r2 |
29 | dd43edf4 | ths | move.d [r2+],r3 |
30 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
31 | dd43edf4 | ths | checkr3 12345678 |
32 | dd43edf4 | ths | |
33 | dd43edf4 | ths | move.w [r2+],r3 |
34 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
35 | dd43edf4 | ths | checkr3 12344567 |
36 | dd43edf4 | ths | |
37 | dd43edf4 | ths | move.b [r2+],r3 |
38 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
39 | dd43edf4 | ths | checkr3 12344523 |
40 | dd43edf4 | ths | |
41 | dd43edf4 | ths | move.d [r2+],r3 |
42 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
43 | dd43edf4 | ths | checkr3 76543210 |
44 | dd43edf4 | ths | |
45 | dd43edf4 | ths | movs.b [r2],r3 |
46 | dd43edf4 | ths | test_move_cc 1 0 0 0 |
47 | dd43edf4 | ths | checkr3 ffffffaa |
48 | dd43edf4 | ths | |
49 | dd43edf4 | ths | movu.b [r2+],r3 |
50 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
51 | dd43edf4 | ths | checkr3 aa |
52 | dd43edf4 | ths | |
53 | dd43edf4 | ths | movu.w [r2],r3 |
54 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
55 | dd43edf4 | ths | checkr3 9911 |
56 | dd43edf4 | ths | |
57 | dd43edf4 | ths | movs.w [r2+],r3 |
58 | dd43edf4 | ths | test_move_cc 1 0 0 0 |
59 | dd43edf4 | ths | checkr3 ffff9911 |
60 | dd43edf4 | ths | |
61 | dd43edf4 | ths | move.d mem1,r13 |
62 | dd43edf4 | ths | movs.b [r13+],r3 |
63 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
64 | dd43edf4 | ths | checkr3 78 |
65 | dd43edf4 | ths | |
66 | dd43edf4 | ths | movu.b [r13],r3 |
67 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
68 | dd43edf4 | ths | checkr3 56 |
69 | dd43edf4 | ths | |
70 | dd43edf4 | ths | movs.w [r13+],r3 |
71 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
72 | dd43edf4 | ths | checkr3 3456 |
73 | dd43edf4 | ths | |
74 | dd43edf4 | ths | movu.w [r13+],r3 |
75 | dd43edf4 | ths | test_move_cc 0 0 0 0 |
76 | dd43edf4 | ths | checkr3 6712 |
77 | dd43edf4 | ths | |
78 | dd43edf4 | ths | quit |