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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [lcc/] [x86/] [linux/] [tst/] [stdarg.sbk] - Blame information for rev 74

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

Line No. Rev Author Line
1 4 hellwig
.data
2
.globl x
3
.align 4
4
.type x,@object
5
.size x,16
6
x:
7
.long 1
8
.long 2
9
.long 3
10
.long 4
11
.globl main
12
.text
13
.align 16
14
.type main,@function
15
main:
16
pushl %ebp
17
pushl %ebx
18
pushl %esi
19
pushl %edi
20
movl %esp,%ebp
21
subl $8,%esp
22
pushl $.LC2
23
call print
24
addl $4,%esp
25
pushl $.LC4
26
pushl $.LC3
27
call print
28
addl $8,%esp
29
pushl $10
30
pushl $3
31
pushl $.LC5
32
call print
33
addl $12,%esp
34
pushl $10
35
pushl $4
36
pushl $.LC8
37
pushl $.LC7
38
pushl $.LC6
39
call print
40
addl $20,%esp
41
pushl $10
42
fldl .LC10
43
subl $8,%esp
44
fstpl (%esp)
45
pushl $.LC8
46
pushl $.LC7
47
pushl $.LC9
48
call print
49
addl $24,%esp
50
leal x,%edi
51
movl %edi,-8(%ebp)
52
movl %edi,%esi
53
movl %esi,-4(%ebp)
54
subl $16,%esp
55
movl %esp,%edi
56
movl $16,%ecx
57
rep
58
movsb
59
movl -8(%ebp),%edi
60
movl %edi,%esi
61
subl $16,%esp
62
movl %esp,%edi
63
movl $16,%ecx
64
rep
65
movsb
66
movl -8(%ebp),%edi
67
movl %edi,%esi
68
subl $16,%esp
69
movl %esp,%edi
70
movl $16,%ecx
71
rep
72
movsb
73
movl -8(%ebp),%edi
74
movl %edi,%esi
75
subl $16,%esp
76
movl %esp,%edi
77
movl $16,%ecx
78
rep
79
movsb
80
movl -8(%ebp),%edi
81
movl %edi,%esi
82
subl $16,%esp
83
movl %esp,%edi
84
movl $16,%ecx
85
rep
86
movsb
87
movl -8(%ebp),%edi
88
movl %edi,%esi
89
subl $16,%esp
90
movl %esp,%edi
91
movl $16,%ecx
92
rep
93
movsb
94
pushl $.LC11
95
call print
96
addl $100,%esp
97
mov $0,%eax
98
.LC1:
99
movl %ebp,%esp
100
popl %edi
101
popl %esi
102
popl %ebx
103
popl %ebp
104
ret
105
.Lf12:
106
.size main,.Lf12-main
107
.globl print
108
.align 16
109
.type print,@function
110
print:
111
pushl %ebp
112
pushl %ebx
113
pushl %esi
114
pushl %edi
115
movl %esp,%ebp
116
subl $28,%esp
117
leal 24(%ebp),%edi
118
movl %edi,-4(%ebp)
119
jmp .LC19
120
.LC16:
121
movl 20(%ebp),%edi
122
movsbl (,%edi),%edi
123
cmpl $37,%edi
124
jne .LC20
125
movl 20(%ebp),%edi
126
leal 1(%edi),%edi
127
movl %edi,20(%ebp)
128
movsbl (,%edi),%edi
129
movl %edi,-8(%ebp)
130
movl -8(%ebp),%edi
131
cmpl $115,%edi
132
je .LC36
133
cmpl $115,%edi
134
jg .LC41
135
.LC40:
136
movl -8(%ebp),%edi
137
cmpl $98,%edi
138
jl .LC22
139
cmpl $102,%edi
140
jg .LC22
141
jmp *.LC42-392(,%edi,4)
142
.data
143
.align 4
144
.LC42:
145
.long .LC25
146
.long .LC30
147
.long .LC32
148
.long .LC22
149
.long .LC38
150
.text
151
.LC41:
152
cmpl $119,-8(%ebp)
153
je .LC34
154
jmp .LC22
155
.LC25:
156
movl -4(%ebp),%edi
157
leal 16(%edi),%edi
158
movl %edi,-28(%ebp)
159
movl %edi,-4(%ebp)
160
leal -24(%ebp),%edi
161
movl -28(%ebp),%esi
162
leal -16(%esi),%esi
163
movl $16,%ecx
164
rep
165
movsb
166
pushl -12(%ebp)
167
pushl -16(%ebp)
168
pushl -20(%ebp)
169
pushl -24(%ebp)
170
pushl $.LC26
171
call printf
172
addl $20,%esp
173
jmp .LC21
174
.LC30:
175
movl -4(%ebp),%edi
176
leal 4(%edi),%edi
177
movl %edi,-4(%ebp)
178
movsbl -4(%edi),%edi
179
pushl %edi
180
pushl $.LC31
181
call printf
182
addl $8,%esp
183
jmp .LC21
184
.LC32:
185
movl -4(%ebp),%edi
186
leal 4(%edi),%edi
187
movl %edi,-4(%ebp)
188
pushl -4(%edi)
189
pushl $.LC33
190
call printf
191
addl $8,%esp
192
jmp .LC21
193
.LC34:
194
movl -4(%ebp),%edi
195
leal 4(%edi),%edi
196
movl %edi,-4(%ebp)
197
movswl -4(%edi),%edi
198
pushl %edi
199
pushl $.LC35
200
call printf
201
addl $8,%esp
202
jmp .LC21
203
.LC36:
204
movl -4(%ebp),%edi
205
leal 4(%edi),%edi
206
movl %edi,-4(%ebp)
207
pushl -4(%edi)
208
pushl $.LC37
209
call printf
210
addl $8,%esp
211
jmp .LC21
212
.LC38:
213
movl -4(%ebp),%edi
214
leal 8(%edi),%edi
215
movl %edi,-4(%ebp)
216
fldl -8(%edi)
217
subl $8,%esp
218
fstpl (%esp)
219
pushl $.LC39
220
call printf
221
addl $12,%esp
222
jmp .LC21
223
.LC22:
224
movl 20(%ebp),%edi
225
movsbl (,%edi),%edi
226
pushl %edi
227
pushl $.LC31
228
call printf
229
addl $8,%esp
230
jmp .LC21
231
.LC20:
232
movl 20(%ebp),%edi
233
movsbl (,%edi),%edi
234
pushl %edi
235
pushl $.LC31
236
call printf
237
addl $8,%esp
238
.LC21:
239
.LC17:
240
incl 20(%ebp)
241
.LC19:
242
movl 20(%ebp),%edi
243
movsbl (,%edi),%edi
244
cmpl $0,%edi
245
jne .LC16
246
mov $0,%eax
247
.LC13:
248
movl %ebp,%esp
249
popl %edi
250
popl %esi
251
popl %ebx
252
popl %ebp
253
ret
254
.Lf44:
255
.size print,.Lf44-print
256
.bss
257
.align 4
258
.type __va_arg_tmp,@object
259
.size __va_arg_tmp,4
260
.lcomm __va_arg_tmp,4
261
.data
262
.align 1
263
.LC39:
264
.byte 37
265
.byte 102
266
.byte 0
267
.align 1
268
.LC37:
269
.byte 37
270
.byte 115
271
.byte 0
272
.align 1
273
.LC35:
274
.byte 37
275
.byte 120
276
.byte 0
277
.align 1
278
.LC33:
279
.byte 37
280
.byte 100
281
.byte 0
282
.align 1
283
.LC31:
284
.byte 37
285
.byte 99
286
.byte 0
287
.align 1
288
.LC26:
289
.byte 123
290
.byte 37
291
.byte 100
292
.byte 32
293
.byte 37
294
.byte 100
295
.byte 32
296
.byte 37
297
.byte 100
298
.byte 32
299
.byte 37
300
.byte 100
301
.byte 125
302
.byte 0
303
.align 1
304
.LC11:
305
.byte 37
306
.byte 98
307
.byte 32
308
.byte 37
309
.byte 98
310
.byte 32
311
.byte 37
312
.byte 98
313
.byte 32
314
.byte 37
315
.byte 98
316
.byte 32
317
.byte 37
318
.byte 98
319
.byte 32
320
.byte 37
321
.byte 98
322
.byte 10
323
.byte 0
324
.align 4
325
.LC10:
326
.long 0
327
.long 1075052544
328
.align 1
329
.LC9:
330
.byte 37
331
.byte 115
332
.byte 37
333
.byte 115
334
.byte 32
335
.byte 37
336
.byte 102
337
.byte 37
338
.byte 99
339
.byte 0
340
.align 1
341
.LC8:
342
.byte 115
343
.byte 116
344
.byte 0
345
.align 1
346
.LC7:
347
.byte 116
348
.byte 101
349
.byte 0
350
.align 1
351
.LC6:
352
.byte 37
353
.byte 115
354
.byte 37
355
.byte 115
356
.byte 32
357
.byte 37
358
.byte 119
359
.byte 37
360
.byte 99
361
.byte 0
362
.align 1
363
.LC5:
364
.byte 116
365
.byte 101
366
.byte 115
367
.byte 116
368
.byte 32
369
.byte 37
370
.byte 100
371
.byte 37
372
.byte 99
373
.byte 0
374
.align 1
375
.LC4:
376
.byte 50
377
.byte 0
378
.align 1
379
.LC3:
380
.byte 116
381
.byte 101
382
.byte 115
383
.byte 116
384
.byte 32
385
.byte 37
386
.byte 115
387
.byte 10
388
.byte 0
389
.align 1
390
.LC2:
391
.byte 116
392
.byte 101
393
.byte 115
394
.byte 116
395
.byte 32
396
.byte 49
397
.byte 10
398
.byte 0
399
.text
400
.ident "LCC: 4.1"

powered by: WebSVN 2.1.0

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