projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
gas/
[deliverable/binutils-gdb.git]
/
gas
/
testsuite
/
gas
/
cris
/
prefix.s
1
; See that prefix insns are assembled right.
2
.text
3
.syntax no_register_prefix
4
start:
5
;
6
; bdap (8-bit signed offset).
7
;
8
9
bdap 0,r0
10
move.b [r5],r4
11
12
bdap 0,r3
13
move.w [r6+],r4
14
15
bdap -1,r1
16
move.b [r5],r4
17
18
bdap -1,r0
19
move.w [r6+],r4
20
21
bdap -128,r1
22
move.b [r5],r4
23
24
bdap -128,r7
25
move.w [r6+],r4
26
27
bdap 127,r1
28
move.b [r5],r4
29
30
bdap 127,r11
31
move.w [r6],r4
32
33
;
34
; bdap.S [],r
35
;
36
37
bdap.b 0,r4
38
move.d [r7+],r9
39
40
bdap.b 1,r5
41
move.b [r5],r4
42
43
bdap.b -1,r6
44
move.d [r7+],r9
45
46
bdap.b -128,r6
47
move.d [r7],r9
48
49
bdap.b 127,r6
50
move.w [r6+],r4
51
52
bdap.w 0,r4
53
move.d [r7+],r9
54
55
bdap.w 1,r5
56
move.b [r5],r4
57
58
bdap.w -1,r6
59
move.d [r7+],r9
60
61
bdap.w -128,r6
62
move.d [r7],r9
63
64
bdap.w 127,r6
65
move.w [r6+],r4
66
67
bdap.w -129,r6
68
move.d [r7],r9
69
70
bdap.w 128,r6
71
move.d [r7],r9
72
73
bdap.w -32768,r6
74
move.b [r5],r4
75
76
bdap.w 32767,r6
77
move.w [r5+],r5
78
79
bdap.d 0,r4
80
move.d [r7+],r9
81
82
bdap.d 1,r5
83
move.b [r5],r4
84
85
bdap.d -1,r6
86
move.d [r7+],r9
87
88
bdap.d -128,r6
89
move.d [r7],r9
90
91
bdap.d 127,r6
92
move.w [r6+],r4
93
94
bdap.d -129,r6
95
move.d [r7],r9
96
97
bdap.d 128,r6
98
move.d [r7],r9
99
100
bdap.d -32768,r6
101
move.b [r5],r4
102
103
bdap.d 32767,r6
104
move.w [r5+],r5
105
106
bdap.d -32769,r6
107
move.w [r6+],r4
108
109
bdap.d 32768,r6
110
move.w [r6],r4
111
112
bdap.d -327680,r6
113
move.b [r5],r4
114
115
bdap.d 21474805,r6
116
move.w [r5+],r5
117
118
bdap.d -2147483648,r6
119
move.d [r7],r9
120
121
bdap.d 2147483647,r6
122
move.b [r5],r4
123
124
bdap.d external_symbol,r6
125
move.w [r5+],r5
126
127
bdap.b [r0],r2
128
move.d [r6+],r4
129
130
bdap.w [r0],r2
131
move.b [r5],r4
132
133
bdap.d [r0],r2
134
move.d [r6+],r4
135
136
bdap.b [r10],r2
137
move.d [r6+],r4
138
139
bdap.w [r10],r2
140
move.b [r5],r4
141
142
bdap.d [r10],r2
143
move.d [r6+],r4
144
145
bdap.b [r2+],r2
146
move.w [r6],r4
147
148
bdap.w [r11+],r2
149
move.w [r5+],r5
150
151
bdap.d [r10+],r2
152
move.w [r6],r4
153
154
;
155
; BIAP.m (like addi).
156
;
157
158
biap.b r3,r0
159
move.b [r5],r4
160
161
biap.w r5,r3
162
move.w [r6+],r4
163
164
biap.d r13,r13
165
move.b [r5],r4
166
167
biap.b r6,r6
168
move.w [r6+],r4
169
170
biap.w r13,r13
171
move.b [r5],r4
172
173
biap.d r11,r12
174
move.w [r6+],r4
175
176
biap.w r5,r4
177
move.b [r5],r4
178
179
biap.b r3,r3
180
move.w [r6+],r4
181
182
biap.d r5,r5
183
move.w [r5+],r5
184
185
;
186
; DIP []
187
;
188
dip 0
189
move.d [r7+],r9
190
191
dip 1
192
move.b [r5],r4
193
194
dip -1
195
move.d [r7+],r9
196
197
dip -128
198
move.d [r7],r9
199
200
dip 127
201
move.w [r6+],r4
202
203
dip -129
204
move.d [r7],r9
205
206
dip 128
207
move.d [r7],r9
208
209
dip -32768
210
move.b [r5],r4
211
212
dip 32767
213
move.w [r5+],r5
214
215
dip -32769
216
move.w [r6+],r4
217
218
dip 32768
219
move.w [r6],r4
220
221
dip -327680
222
move.b [r5],r4
223
224
dip 21474805
225
move.w [r5+],r5
226
227
dip -2147483648
228
move.d [r7],r9
229
230
dip 2147483647
231
move.b [r5],r4
232
233
dip external_symbol
234
move.w [r5+],r5
235
236
dip [r10]
237
move.d [r6+],r4
238
239
dip [r11]
240
move.d [r7],r4
241
242
dip [r2+]
243
move.w [r6],r4
244
245
dip [r11+]
246
move.w [r5+],r5
247
end:
This page took
0.034385 seconds
and
4
git commands to generate.