root / tests / cris / check_bas.s @ f97572e5
History | View | Annotate | Download (1006 Bytes)
1 | dd43edf4 | ths | # mach: crisv32 |
---|---|---|---|
2 | dd43edf4 | ths | # output: 0\n0\n0\nfb349abc\n0\n12124243\n0\n0\neab5baad\n0\nefb37832\n |
3 | dd43edf4 | ths | |
4 | dd43edf4 | ths | .include "testutils.inc" |
5 | dd43edf4 | ths | start |
6 | dd43edf4 | ths | x: |
7 | dd43edf4 | ths | setf zncv |
8 | dd43edf4 | ths | bsr 0f |
9 | dd43edf4 | ths | nop |
10 | dd43edf4 | ths | 0: |
11 | dd43edf4 | ths | test_cc 1 1 1 1 |
12 | dd43edf4 | ths | move srp,r3 |
13 | dd43edf4 | ths | sub.d 0b,r3 |
14 | dd43edf4 | ths | checkr3 0 |
15 | dd43edf4 | ths | |
16 | dd43edf4 | ths | bas 1f,mof |
17 | dd43edf4 | ths | moveq 0,r0 |
18 | dd43edf4 | ths | 6: |
19 | dd43edf4 | ths | nop |
20 | dd43edf4 | ths | quit |
21 | dd43edf4 | ths | |
22 | dd43edf4 | ths | 2: |
23 | dd43edf4 | ths | move srp,r3 |
24 | dd43edf4 | ths | sub.d 3f,r3 |
25 | dd43edf4 | ths | checkr3 0 |
26 | dd43edf4 | ths | move srp,r4 |
27 | dd43edf4 | ths | subq 4,r4 |
28 | dd43edf4 | ths | move.d [r4],r3 |
29 | dd43edf4 | ths | checkr3 fb349abc |
30 | dd43edf4 | ths | |
31 | dd43edf4 | ths | basc 4f,mof |
32 | dd43edf4 | ths | nop |
33 | dd43edf4 | ths | .dword 0x12124243 |
34 | dd43edf4 | ths | 7: |
35 | dd43edf4 | ths | nop |
36 | dd43edf4 | ths | quit |
37 | dd43edf4 | ths | |
38 | dd43edf4 | ths | 8: |
39 | dd43edf4 | ths | move mof,r3 |
40 | dd43edf4 | ths | sub.d 7f,r3 |
41 | dd43edf4 | ths | checkr3 0 |
42 | dd43edf4 | ths | |
43 | dd43edf4 | ths | move mof,r4 |
44 | dd43edf4 | ths | subq 4,r4 |
45 | dd43edf4 | ths | move.d [r4],r3 |
46 | dd43edf4 | ths | checkr3 eab5baad |
47 | dd43edf4 | ths | |
48 | dd43edf4 | ths | jasc 9f,mof |
49 | dd43edf4 | ths | nop |
50 | dd43edf4 | ths | .dword 0xefb37832 |
51 | dd43edf4 | ths | 0: |
52 | dd43edf4 | ths | quit |
53 | dd43edf4 | ths | |
54 | dd43edf4 | ths | quit |
55 | dd43edf4 | ths | 9: |
56 | dd43edf4 | ths | move mof,r3 |
57 | dd43edf4 | ths | sub.d 0b,r3 |
58 | dd43edf4 | ths | checkr3 0 |
59 | dd43edf4 | ths | |
60 | dd43edf4 | ths | move mof,r4 |
61 | dd43edf4 | ths | subq 4,r4 |
62 | dd43edf4 | ths | move.d [r4],r3 |
63 | dd43edf4 | ths | checkr3 efb37832 |
64 | dd43edf4 | ths | |
65 | dd43edf4 | ths | quit |
66 | dd43edf4 | ths | |
67 | dd43edf4 | ths | 4: |
68 | dd43edf4 | ths | move mof,r3 |
69 | dd43edf4 | ths | sub.d 7b,r3 |
70 | dd43edf4 | ths | checkr3 0 |
71 | dd43edf4 | ths | move mof,r4 |
72 | dd43edf4 | ths | subq 4,r4 |
73 | dd43edf4 | ths | move.d [r4],r3 |
74 | dd43edf4 | ths | checkr3 12124243 |
75 | dd43edf4 | ths | basc 5f,bz |
76 | dd43edf4 | ths | moveq 0,r3 |
77 | dd43edf4 | ths | .dword 0x7634aeba |
78 | dd43edf4 | ths | quit |
79 | dd43edf4 | ths | |
80 | dd43edf4 | ths | .space 32770,0 |
81 | dd43edf4 | ths | 1: |
82 | dd43edf4 | ths | move mof,r3 |
83 | dd43edf4 | ths | sub.d 6b,r3 |
84 | dd43edf4 | ths | checkr3 0 |
85 | dd43edf4 | ths | |
86 | dd43edf4 | ths | bsrc 2b |
87 | dd43edf4 | ths | nop |
88 | dd43edf4 | ths | .dword 0xfb349abc |
89 | dd43edf4 | ths | 3: |
90 | dd43edf4 | ths | |
91 | dd43edf4 | ths | quit |
92 | dd43edf4 | ths | |
93 | dd43edf4 | ths | 5: |
94 | dd43edf4 | ths | move mof,r3 |
95 | dd43edf4 | ths | sub.d 7b,r3 |
96 | dd43edf4 | ths | checkr3 0 |
97 | dd43edf4 | ths | move.d 8b,r6 |
98 | dd43edf4 | ths | jasc r6,mof |
99 | dd43edf4 | ths | nop |
100 | dd43edf4 | ths | .dword 0xeab5baad |
101 | dd43edf4 | ths | 7: |
102 | dd43edf4 | ths | quit |