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

Subversion Repositories eco32

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

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

Line No. Rev Author Line
1 4 hellwig
.486
2
.model flat
3
extrn __fltused:near
4
extrn __ftol:near
5
public _main
6
_TEXT segment
7
_main:
8
push ebx
9
push esi
10
push edi
11
push ebp
12
mov ebp,esp
13
mov eax,0
14
L1:
15
mov esp,ebp
16
pop ebp
17
pop edi
18
pop esi
19
pop ebx
20
ret
21
public _memchar
22
_memchar:
23
push ebx
24
push esi
25
push edi
26
push ebp
27
mov ebp,esp
28
sub esp,8
29
mov edi,dword ptr (-8)[ebp]
30
lea esi,(1)[edi]
31
mov dword ptr (-8)[ebp],esi
32
mov bl,byte ptr [edi]
33
mov byte ptr (-4)[ebp],bl
34
mov edi,dword ptr (-8)[ebp]
35
lea edi,(1)[edi]
36
mov dword ptr (-8)[ebp],edi
37
mov bl,byte ptr [edi]
38
mov byte ptr (-4)[ebp],bl
39
mov edi,dword ptr (-8)[ebp]
40
lea esi,(-1)[edi]
41
mov dword ptr (-8)[ebp],esi
42
mov bl,byte ptr [edi]
43
mov byte ptr (-4)[ebp],bl
44
mov edi,dword ptr (-8)[ebp]
45
lea edi,(-1)[edi]
46
mov dword ptr (-8)[ebp],edi
47
mov bl,byte ptr [edi]
48
mov byte ptr (-4)[ebp],bl
49
mov eax,0
50
L2:
51
mov esp,ebp
52
pop ebp
53
pop edi
54
pop esi
55
pop ebx
56
ret
57
public _memint
58
_memint:
59
push ebx
60
push esi
61
push edi
62
push ebp
63
mov ebp,esp
64
sub esp,8
65
mov edi,dword ptr (-8)[ebp]
66
lea esi,(4)[edi]
67
mov dword ptr (-8)[ebp],esi
68
mov edi,dword ptr [edi]
69
mov dword ptr (-4)[ebp],edi
70
mov edi,dword ptr (-8)[ebp]
71
lea edi,(4)[edi]
72
mov dword ptr (-8)[ebp],edi
73
mov edi,dword ptr [edi]
74
mov dword ptr (-4)[ebp],edi
75
mov edi,dword ptr (-8)[ebp]
76
lea esi,(-4)[edi]
77
mov dword ptr (-8)[ebp],esi
78
mov edi,dword ptr [edi]
79
mov dword ptr (-4)[ebp],edi
80
mov edi,dword ptr (-8)[ebp]
81
lea edi,(-4)[edi]
82
mov dword ptr (-8)[ebp],edi
83
mov edi,dword ptr [edi]
84
mov dword ptr (-4)[ebp],edi
85
mov eax,0
86
L3:
87
mov esp,ebp
88
pop ebp
89
pop edi
90
pop esi
91
pop ebx
92
ret
93
public _regchar
94
_regchar:
95
push ebx
96
push esi
97
push edi
98
push ebp
99
mov ebp,esp
100
sub esp,8
101
mov edi,dword ptr (-8)[ebp]
102
lea esi,(1)[edi]
103
mov dword ptr (-8)[ebp],esi
104
mov bl,byte ptr [edi]
105
mov byte ptr (-4)[ebp],bl
106
mov edi,dword ptr (-8)[ebp]
107
lea edi,(1)[edi]
108
mov dword ptr (-8)[ebp],edi
109
mov bl,byte ptr [edi]
110
mov byte ptr (-4)[ebp],bl
111
mov edi,dword ptr (-8)[ebp]
112
lea esi,(-1)[edi]
113
mov dword ptr (-8)[ebp],esi
114
mov bl,byte ptr [edi]
115
mov byte ptr (-4)[ebp],bl
116
mov edi,dword ptr (-8)[ebp]
117
lea edi,(-1)[edi]
118
mov dword ptr (-8)[ebp],edi
119
mov bl,byte ptr [edi]
120
mov byte ptr (-4)[ebp],bl
121
mov eax,0
122
L4:
123
mov esp,ebp
124
pop ebp
125
pop edi
126
pop esi
127
pop ebx
128
ret
129
public _regint
130
_regint:
131
push ebx
132
push esi
133
push edi
134
push ebp
135
mov ebp,esp
136
sub esp,8
137
mov edi,dword ptr (-8)[ebp]
138
lea esi,(4)[edi]
139
mov dword ptr (-8)[ebp],esi
140
mov edi,dword ptr [edi]
141
mov dword ptr (-4)[ebp],edi
142
mov edi,dword ptr (-8)[ebp]
143
lea edi,(4)[edi]
144
mov dword ptr (-8)[ebp],edi
145
mov edi,dword ptr [edi]
146
mov dword ptr (-4)[ebp],edi
147
mov edi,dword ptr (-8)[ebp]
148
lea esi,(-4)[edi]
149
mov dword ptr (-8)[ebp],esi
150
mov edi,dword ptr [edi]
151
mov dword ptr (-4)[ebp],edi
152
mov edi,dword ptr (-8)[ebp]
153
lea edi,(-4)[edi]
154
mov dword ptr (-8)[ebp],edi
155
mov edi,dword ptr [edi]
156
mov dword ptr (-4)[ebp],edi
157
mov eax,0
158
L5:
159
mov esp,ebp
160
pop ebp
161
pop edi
162
pop esi
163
pop ebx
164
ret
165
_TEXT ends
166
end

powered by: WebSVN 2.1.0

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