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

Subversion Repositories eco32

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

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

Line No. Rev Author Line
1 4 hellwig
.globl main
2
.text
3
.align 16
4
.type main,@function
5
main:
6
pushl %ebp
7
pushl %ebx
8
pushl %esi
9
pushl %edi
10
movl %esp,%ebp
11
mov $0,%eax
12
.LC1:
13
movl %ebp,%esp
14
popl %edi
15
popl %esi
16
popl %ebx
17
popl %ebp
18
ret
19
.Lf2:
20
.size main,.Lf2-main
21
.globl memchar
22
.align 16
23
.type memchar,@function
24
memchar:
25
pushl %ebp
26
pushl %ebx
27
pushl %esi
28
pushl %edi
29
movl %esp,%ebp
30
subl $8,%esp
31
movl -8(%ebp),%edi
32
leal 1(%edi),%esi
33
movl %esi,-8(%ebp)
34
movb (,%edi),%bl
35
movb %bl,-4(%ebp)
36
movl -8(%ebp),%edi
37
leal 1(%edi),%edi
38
movl %edi,-8(%ebp)
39
movb (,%edi),%bl
40
movb %bl,-4(%ebp)
41
movl -8(%ebp),%edi
42
leal -1(%edi),%esi
43
movl %esi,-8(%ebp)
44
movb (,%edi),%bl
45
movb %bl,-4(%ebp)
46
movl -8(%ebp),%edi
47
leal -1(%edi),%edi
48
movl %edi,-8(%ebp)
49
movb (,%edi),%bl
50
movb %bl,-4(%ebp)
51
mov $0,%eax
52
.LC3:
53
movl %ebp,%esp
54
popl %edi
55
popl %esi
56
popl %ebx
57
popl %ebp
58
ret
59
.Lf4:
60
.size memchar,.Lf4-memchar
61
.globl memint
62
.align 16
63
.type memint,@function
64
memint:
65
pushl %ebp
66
pushl %ebx
67
pushl %esi
68
pushl %edi
69
movl %esp,%ebp
70
subl $8,%esp
71
movl -8(%ebp),%edi
72
leal 4(%edi),%esi
73
movl %esi,-8(%ebp)
74
movl (,%edi),%edi
75
movl %edi,-4(%ebp)
76
movl -8(%ebp),%edi
77
leal 4(%edi),%edi
78
movl %edi,-8(%ebp)
79
movl (,%edi),%edi
80
movl %edi,-4(%ebp)
81
movl -8(%ebp),%edi
82
leal -4(%edi),%esi
83
movl %esi,-8(%ebp)
84
movl (,%edi),%edi
85
movl %edi,-4(%ebp)
86
movl -8(%ebp),%edi
87
leal -4(%edi),%edi
88
movl %edi,-8(%ebp)
89
movl (,%edi),%edi
90
movl %edi,-4(%ebp)
91
mov $0,%eax
92
.LC5:
93
movl %ebp,%esp
94
popl %edi
95
popl %esi
96
popl %ebx
97
popl %ebp
98
ret
99
.Lf6:
100
.size memint,.Lf6-memint
101
.globl regchar
102
.align 16
103
.type regchar,@function
104
regchar:
105
pushl %ebp
106
pushl %ebx
107
pushl %esi
108
pushl %edi
109
movl %esp,%ebp
110
subl $8,%esp
111
movl -8(%ebp),%edi
112
leal 1(%edi),%esi
113
movl %esi,-8(%ebp)
114
movb (,%edi),%bl
115
movb %bl,-4(%ebp)
116
movl -8(%ebp),%edi
117
leal 1(%edi),%edi
118
movl %edi,-8(%ebp)
119
movb (,%edi),%bl
120
movb %bl,-4(%ebp)
121
movl -8(%ebp),%edi
122
leal -1(%edi),%esi
123
movl %esi,-8(%ebp)
124
movb (,%edi),%bl
125
movb %bl,-4(%ebp)
126
movl -8(%ebp),%edi
127
leal -1(%edi),%edi
128
movl %edi,-8(%ebp)
129
movb (,%edi),%bl
130
movb %bl,-4(%ebp)
131
mov $0,%eax
132
.LC7:
133
movl %ebp,%esp
134
popl %edi
135
popl %esi
136
popl %ebx
137
popl %ebp
138
ret
139
.Lf8:
140
.size regchar,.Lf8-regchar
141
.globl regint
142
.align 16
143
.type regint,@function
144
regint:
145
pushl %ebp
146
pushl %ebx
147
pushl %esi
148
pushl %edi
149
movl %esp,%ebp
150
subl $8,%esp
151
movl -8(%ebp),%edi
152
leal 4(%edi),%esi
153
movl %esi,-8(%ebp)
154
movl (,%edi),%edi
155
movl %edi,-4(%ebp)
156
movl -8(%ebp),%edi
157
leal 4(%edi),%edi
158
movl %edi,-8(%ebp)
159
movl (,%edi),%edi
160
movl %edi,-4(%ebp)
161
movl -8(%ebp),%edi
162
leal -4(%edi),%esi
163
movl %esi,-8(%ebp)
164
movl (,%edi),%edi
165
movl %edi,-4(%ebp)
166
movl -8(%ebp),%edi
167
leal -4(%edi),%edi
168
movl %edi,-8(%ebp)
169
movl (,%edi),%edi
170
movl %edi,-4(%ebp)
171
mov $0,%eax
172
.LC9:
173
movl %ebp,%esp
174
popl %edi
175
popl %esi
176
popl %ebx
177
popl %ebp
178
ret
179
.Lf10:
180
.size regint,.Lf10-regint
181
.ident "LCC: 4.1"

powered by: WebSVN 2.1.0

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