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

Subversion Repositories eco32

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

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

Line No. Rev Author Line
1 4 hellwig
.data
2
.globl words
3
.align 4
4
.type words,@object
5
words:
6
.long 1
7
.long 2
8
.long 3
9
.byte 105
10
.byte 102
11
.byte 0
12
.space 3
13
.space 2
14
.long 4
15
.long 5
16
.space 4
17
.byte 102
18
.byte 111
19
.byte 114
20
.space 3
21
.space 2
22
.long 6
23
.long 7
24
.long 8
25
.byte 101
26
.byte 108
27
.byte 115
28
.byte 101
29
.byte 0
30
.space 1
31
.space 2
32
.long 9
33
.long 10
34
.long 11
35
.byte 119
36
.byte 104
37
.byte 105
38
.byte 108
39
.byte 101
40
.space 1
41
.space 2
42
.long 0
43
.space 8
44
.space 8
45
.size words,100
46
.globl wordlist
47
.align 4
48
.type wordlist,@object
49
.size wordlist,4
50
wordlist:
51
.long words
52
.globl x
53
.align 4
54
.type x,@object
55
x:
56
.long 1
57
.long 2
58
.long 3
59
.long 4
60
.long 0
61
.long 5
62
.long 6
63
.space 12
64
.long 7
65
.space 16
66
.size x,60
67
.globl y
68
.align 4
69
.type y,@object
70
y:
71
.long x
72
.long x+20
73
.long x+40
74
.long 0
75
.size y,16
76
.globl main
77
.text
78
.align 16
79
.type main,@function
80
main:
81
pushl %ebp
82
pushl %ebx
83
pushl %esi
84
pushl %edi
85
movl %esp,%ebp
86
subl $8,%esp
87
movl $0,-8(%ebp)
88
jmp .LC8
89
.LC5:
90
movl $0,-4(%ebp)
91
jmp .LC12
92
.LC9:
93
movl -4(%ebp),%edi
94
movl -8(%ebp),%esi
95
movl y(,%esi,4),%esi
96
pushl (%esi,%edi,4)
97
pushl $.LC13
98
call printf
99
addl $8,%esp
100
.LC10:
101
incl -4(%ebp)
102
.LC12:
103
movl -4(%ebp),%edi
104
movl -8(%ebp),%esi
105
movl y(,%esi,4),%esi
106
cmpl $0,(%esi,%edi,4)
107
jne .LC9
108
pushl $.LC14
109
call printf
110
addl $4,%esp
111
.LC6:
112
incl -8(%ebp)
113
.LC8:
114
movl -8(%ebp),%edi
115
movl y(,%edi,4),%edi
116
cmpl $0,%edi
117
jne .LC5
118
call f
119
pushl wordlist
120
call g
121
addl $4,%esp
122
mov $0,%eax
123
.LC4:
124
movl %ebp,%esp
125
popl %edi
126
popl %esi
127
popl %ebx
128
popl %ebp
129
ret
130
.Lf15:
131
.size main,.Lf15-main
132
.data
133
.align 4
134
.type keywords.17,@object
135
keywords.17:
136
.long .LC18
137
.long .LC19
138
.long .LC20
139
.long .LC21
140
.long 0
141
.size keywords.17,20
142
.globl f
143
.text
144
.align 16
145
.type f,@function
146
f:
147
pushl %ebp
148
pushl %ebx
149
pushl %esi
150
pushl %edi
151
movl %esp,%ebp
152
subl $4,%esp
153
leal keywords.17,%edi
154
movl %edi,-4(%ebp)
155
jmp .LC25
156
.LC22:
157
movl -4(%ebp),%edi
158
pushl (,%edi)
159
pushl $.LC26
160
call printf
161
addl $8,%esp
162
.LC23:
163
movl -4(%ebp),%edi
164
leal 4(%edi),%edi
165
movl %edi,-4(%ebp)
166
.LC25:
167
movl -4(%ebp),%edi
168
movl (,%edi),%edi
169
cmpl $0,%edi
170
jne .LC22
171
mov $0,%eax
172
.LC16:
173
movl %ebp,%esp
174
popl %edi
175
popl %esi
176
popl %ebx
177
popl %ebp
178
ret
179
.Lf27:
180
.size f,.Lf27-f
181
.globl g
182
.align 16
183
.type g,@function
184
g:
185
pushl %ebp
186
pushl %ebx
187
pushl %esi
188
pushl %edi
189
movl %esp,%ebp
190
subl $4,%esp
191
jmp .LC32
192
.LC29:
193
movl $0,-4(%ebp)
194
jmp .LC36
195
.LC33:
196
movl -4(%ebp),%edi
197
movl 20(%ebp),%esi
198
pushl (%esi,%edi,4)
199
pushl $.LC37
200
call printf
201
addl $8,%esp
202
.LC34:
203
incl -4(%ebp)
204
.LC36:
205
movl -4(%ebp),%edi
206
cmpl $3,%edi
207
jb .LC33
208
movl 20(%ebp),%edi
209
leal 12(%edi),%edi
210
pushl %edi
211
pushl $.LC26
212
call printf
213
addl $8,%esp
214
.LC30:
215
movl 20(%ebp),%edi
216
leal 20(%edi),%edi
217
movl %edi,20(%ebp)
218
.LC32:
219
movl 20(%ebp),%edi
220
cmpl $0,(,%edi)
221
jne .LC29
222
call h
223
mov $0,%eax
224
.LC28:
225
movl %ebp,%esp
226
popl %edi
227
popl %esi
228
popl %ebx
229
popl %ebp
230
ret
231
.Lf38:
232
.size g,.Lf38-g
233
.globl h
234
.align 16
235
.type h,@function
236
h:
237
pushl %ebp
238
pushl %ebx
239
pushl %esi
240
pushl %edi
241
movl %esp,%ebp
242
subl $4,%esp
243
movl $0,-4(%ebp)
244
jmp .LC43
245
.LC40:
246
imul $20,-4(%ebp),%edi
247
leal words+12(%edi),%esi
248
pushl %esi
249
pushl words+8(%edi)
250
pushl words+4(%edi)
251
pushl words(%edi)
252
pushl $.LC44
253
call printf
254
addl $20,%esp
255
.LC41:
256
incl -4(%ebp)
257
.LC43:
258
movl -4(%ebp),%edi
259
cmpl $5,%edi
260
jb .LC40
261
mov $0,%eax
262
.LC39:
263
movl %ebp,%esp
264
popl %edi
265
popl %esi
266
popl %ebx
267
popl %ebp
268
ret
269
.Lf48:
270
.size h,.Lf48-h
271
.data
272
.align 1
273
.LC44:
274
.byte 37
275
.byte 100
276
.byte 32
277
.byte 37
278
.byte 100
279
.byte 32
280
.byte 37
281
.byte 100
282
.byte 32
283
.byte 37
284
.byte 115
285
.byte 10
286
.byte 0
287
.align 1
288
.LC37:
289
.byte 37
290
.byte 100
291
.byte 32
292
.byte 0
293
.align 1
294
.LC26:
295
.byte 37
296
.byte 115
297
.byte 10
298
.byte 0
299
.align 1
300
.LC21:
301
.byte 119
302
.byte 104
303
.byte 105
304
.byte 108
305
.byte 101
306
.byte 0
307
.align 1
308
.LC20:
309
.byte 101
310
.byte 108
311
.byte 115
312
.byte 101
313
.byte 0
314
.align 1
315
.LC19:
316
.byte 102
317
.byte 111
318
.byte 114
319
.byte 0
320
.align 1
321
.LC18:
322
.byte 105
323
.byte 102
324
.byte 0
325
.align 1
326
.LC14:
327
.byte 10
328
.byte 0
329
.align 1
330
.LC13:
331
.byte 32
332
.byte 37
333
.byte 100
334
.byte 0
335
.text
336
.ident "LCC: 4.1"

powered by: WebSVN 2.1.0

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