root / tests / cris / check_moverm.s @ f97572e5
History | View | Annotate | Download (616 Bytes)
1 | dd43edf4 | ths | # mach: crisv3 crisv8 crisv10 crisv32 |
---|---|---|---|
2 | dd43edf4 | ths | # output: 7823fec2\n10231879\n102318fe\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 0x7823fec2,r4 |
20 | dd43edf4 | ths | setf nzvc |
21 | dd43edf4 | ths | move.d r4,[r2+] |
22 | dd43edf4 | ths | test_cc 1 1 1 1 |
23 | dd43edf4 | ths | subq 4,r2 |
24 | dd43edf4 | ths | move.d [r2],r3 |
25 | dd43edf4 | ths | checkr3 7823fec2 |
26 | dd43edf4 | ths | |
27 | dd43edf4 | ths | move.d mem2,r3 |
28 | dd43edf4 | ths | move.d 0x45231879,r4 |
29 | dd43edf4 | ths | clearf nzvc |
30 | dd43edf4 | ths | move.w r4,[r3] |
31 | dd43edf4 | ths | test_cc 0 0 0 0 |
32 | dd43edf4 | ths | move.d [r3],r3 |
33 | dd43edf4 | ths | checkr3 10231879 |
34 | dd43edf4 | ths | |
35 | dd43edf4 | ths | move.d mem2,r2 |
36 | dd43edf4 | ths | moveq -2,r4 |
37 | dd43edf4 | ths | clearf nc |
38 | dd43edf4 | ths | setf zv |
39 | dd43edf4 | ths | move.b r4,[r2+] |
40 | dd43edf4 | ths | test_cc 0 1 1 0 |
41 | dd43edf4 | ths | subq 1,r2 |
42 | dd43edf4 | ths | move.d [r2],r3 |
43 | 31d731ab | edgar_igl | checkr3 102318fe |
44 | dd43edf4 | ths | |
45 | dd43edf4 | ths | quit |