OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [testsuite/] [gdb.disasm/] [mn10200.s] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
        .text
2
        .global _main
3
        .global add_tests
4
        .global bCC_tests
5
        .global bCCx_tests
6
        .global bit_tests
7
        .global cmp_tests
8
        .global extend_tests
9
        .global logical_tests
10
        .global mov_tests_1
11
        .global mov_tests_2
12
        .global mov_tests_3
13
        .global mov_tests_4
14
        .global movb_tests
15
        .global movbu_tests
16
        .global movx_tests
17
        .global misc_tests
18
        .global shift_tests
19
        .global sub_tests
20
 
21
_main:
22
        nop
23
 
24
add_tests:
25
        add d1,d2
26
        add d2,a3
27
        add a2,d1
28
        add a3,a2
29
        add 16,d1
30
        add 256,d2
31
        add 131071,d3
32
        add 16,a1
33
        add 256,a2
34
        add 131071,a3
35
        addc d1,d2
36
        addnf 16,a2
37
 
38
bCC_tests:
39
        beq bCC_tests
40
        bne bCC_tests
41
        bgt bCC_tests
42
        bge bCC_tests
43
        ble bCC_tests
44
        blt bCC_tests
45
        bhi bCC_tests
46
        bcc bCC_tests
47
        bls bCC_tests
48
        bcs bCC_tests
49
        bvc bCC_tests
50
        bvs bCC_tests
51
        bnc bCC_tests
52
        bns bCC_tests
53
        bra bCC_tests
54
 
55
bCCx_tests:
56
        beqx bCCx_tests
57
        bnex bCCx_tests
58
        bgtx bCCx_tests
59
        bgex bCCx_tests
60
        blex bCCx_tests
61
        bltx bCCx_tests
62
        bhix bCCx_tests
63
        bccx bCCx_tests
64
        blsx bCCx_tests
65
        bcsx bCCx_tests
66
        bvcx bCCx_tests
67
        bvsx bCCx_tests
68
        bncx bCCx_tests
69
        bnsx bCCx_tests
70
 
71
bit_tests:
72
        btst 64,d1
73
        btst 8192,d2
74
        bset d1,(a2)
75
        bclr d1,(a2)
76
 
77
cmp_tests:
78
        cmp d1,d2
79
        cmp d2,a3
80
        cmp a3,d3
81
        cmp a3,a2
82
        cmp 16,d3
83
        cmp 256,d2
84
        cmp 131071,d1
85
        cmp 256,a2
86
        cmp 131071,a1
87
 
88
extend_tests:
89
        ext d1
90
        extx d2
91
        extxu d3
92
        extxb d2
93
        extxbu d1
94
 
95
logical_tests:
96
        and d1,d2
97
        and 127,d2
98
        and 32767,d3
99
        and 32767,psw
100
        or d1,d2
101
        or 127,d2
102
        or 32767,d3
103
        or 32767,psw
104
        xor d1,d2
105
        xor 32767,d3
106
        not d3
107
 
108
mov_tests_1:
109
        mov d1,a2
110
        mov a2,d1
111
        mov d1,d2
112
        mov a2,a1
113
        mov psw,d3
114
        mov d2,psw
115
        mov mdr,d1
116
        mov d2,mdr
117
        mov (a2),d1
118
        mov (8,a2),d1
119
        mov (256,a2),d1
120
        mov (131071,a2),d1
121
 
122
mov_tests_2:
123
        mov (d1,a1),d2
124
        mov (32768),d1
125
        mov (131071),d1
126
        mov (8,a2),a1
127
        mov (256,a2),a1
128
        mov (131071,a2),a1
129
        mov (d1,a1),a2
130
        mov (32768),a1
131
        mov (131071),a1
132
 
133
mov_tests_3:
134
        mov d1,(a2)
135
        mov d1,(32,a2)
136
        mov d1,(256,a2)
137
        mov d1,(131071,a2)
138
        mov d1,(d2,a2)
139
        mov d1,(128)
140
        mov d1,(131071)
141
        mov a1,(32,a2)
142
        mov a1,(256,a2)
143
        mov a1,(131071,a2)
144
 
145
mov_tests_4:
146
        mov a1,(d2,a2)
147
        mov a1,(128)
148
        mov a1,(131071)
149
        mov 8,d1
150
        mov 256,d1
151
        mov 131071,d1
152
        mov 256,a1
153
        mov 131071,a1
154
 
155
movb_tests:
156
        movb (8,a2),d1
157
        movb (256,a2),d1
158
        movb (131071,a2),d1
159
        movb (d2,a2),d3
160
        movb (131071),d2
161
        movb d1,(a2)
162
        movb d1,(8,a2)
163
        movb d1,(256,a2)
164
        movb d1,(131071,a2)
165
        movb d1,(d2,a2)
166
        movb d1,(256)
167
        movb d1,(131071)
168
 
169
movbu_tests:
170
        movbu (a2),d1
171
        movbu (8,a2),d1
172
        movbu (256,a2),d1
173
        movbu (131071,a2),d1
174
        movbu (d1,a1),d2
175
        movbu (32768),d1
176
        movbu (131071),d1
177
 
178
movx_tests:
179
        movx (8,a2),d1
180
        movx (256,a2),d1
181
        movx (131071,a2),d1
182
        movx d1,(8,a2)
183
        movx d1,(256,a2)
184
        movx d1,(131071,a2)
185
 
186
muldiv_tests:
187
        mul d1,d2
188
        mulu d2,d3
189
        divu d3,d2
190
 
191
misc_tests:
192
        jmp _main
193
        jmp _start
194
        jmp (a2)
195
        jsr _main
196
        jsr _start
197
        jsr (a2)
198
        rts
199
        rti
200
        nop
201
 
202
shift_tests:
203
        asr d2
204
        lsr d3
205
        ror d1
206
        rol d2
207
 
208
sub_tests:
209
        sub d1,d2
210
        sub d2,a3
211
        sub a3,d3
212
        sub a3,a2
213
        sub 32767,d2
214
        sub 131071,d2
215
        sub 32767,a2
216
        sub 131071,a2
217
        subc d1,d2

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.