Rev 4418 | Rev 5039 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4418 | Rev 4421 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 4418 $ |
8 | $Revision: 4421 $ |
Line 9... | Line 9... | ||
9 | 9 | ||
Line 108... | Line 108... | ||
108 | cmp DWORD PTR [esp+36], esi |
108 | cmp DWORD PTR [esp+36], esi |
109 | jne L3 |
109 | jne L3 |
110 | mov edi, DWORD PTR [esp+32] |
110 | mov edi, DWORD PTR [esp+32] |
111 | cmp DWORD PTR [edi+164], 0 |
111 | cmp DWORD PTR [edi+164], 0 |
112 | je L9 |
112 | je L9 |
- | 113 | pushd [edi+164] |
|
113 | mov esi, ebp |
114 | mov esi, ebp |
114 | mov ecx, ebp |
115 | mov ecx, ebp |
115 | sub esi, DWORD PTR [edi+52] |
116 | sub esi, DWORD PTR [edi+52] |
116 | add ecx, DWORD PTR [edi+160] |
117 | add ecx, DWORD PTR [edi+160] |
117 | mov eax, esi |
118 | mov eax, esi |
118 | shr eax, 16 |
119 | shr eax, 16 |
119 | mov DWORD PTR [esp+12], eax |
120 | mov DWORD PTR [esp+16], eax |
120 | jmp L11 |
- | |
121 | L12: |
121 | L12: |
- | 122 | mov eax, [ecx+4] |
|
- | 123 | sub [esp], eax |
|
122 | lea ebx, [eax-8] |
124 | lea ebx, [eax-8] |
123 | xor edi, edi |
125 | xor edi, edi |
124 | shr ebx, 1 |
126 | shr ebx, 1 |
125 | jmp L13 |
127 | jmp L13 |
126 | L14: |
128 | L14: |
Line 133... | Line 135... | ||
133 | je L17 |
135 | je L17 |
134 | cmp ax, 3 |
136 | cmp ax, 3 |
135 | je L18 |
137 | je L18 |
136 | dec ax |
138 | dec ax |
137 | jne L15 |
139 | jne L15 |
138 | mov eax, DWORD PTR [esp+12] |
140 | mov eax, DWORD PTR [esp+16] |
139 | add WORD PTR [edx+ebp], ax |
141 | add WORD PTR [edx+ebp], ax |
140 | L17: |
142 | L17: |
141 | add WORD PTR [edx+ebp], si |
143 | add WORD PTR [edx+ebp], si |
142 | L18: |
144 | L18: |
143 | add DWORD PTR [edx+ebp], esi |
145 | add DWORD PTR [edx+ebp], esi |
Line 146... | Line 148... | ||
146 | L13: |
148 | L13: |
147 | cmp edi, ebx |
149 | cmp edi, ebx |
148 | jne L14 |
150 | jne L14 |
149 | add ecx, DWORD PTR [ecx+4] |
151 | add ecx, DWORD PTR [ecx+4] |
150 | L11: |
152 | L11: |
151 | mov eax, DWORD PTR [ecx+4] |
153 | cmp dword [esp], 0 |
152 | test eax, eax |
154 | jg L12 |
153 | jne L12 |
155 | pop eax |
154 | L9: |
156 | L9: |
155 | mov edx, DWORD PTR [esp+32] |
157 | mov edx, DWORD PTR [esp+32] |
156 | cmp DWORD PTR [edx+132], 0 |
158 | cmp DWORD PTR [edx+132], 0 |
157 | je L20 |
159 | je L20 |
158 | mov eax, ebp |
160 | mov eax, ebp |