Rev 3345 | Rev 5363 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3345 | Rev 3539 | ||
---|---|---|---|
Line 8... | Line 8... | ||
8 | ;------------------------------------------------------------------------- |
8 | ;------------------------------------------------------------------------- |
9 | ;Loading configuration from ini file |
9 | ;Loading configuration from ini file |
10 | ; {SPraid.simba} |
10 | ; {SPraid.simba} |
11 | ;------------------------------------------------------------------------- |
11 | ;------------------------------------------------------------------------- |
Line 12... | Line 12... | ||
12 | 12 | ||
Line 13... | Line 13... | ||
13 | $Revision: 3345 $ |
13 | $Revision: 3539 $ |
14 | 14 | ||
15 | iglobal |
15 | iglobal |
Line 162... | Line 162... | ||
162 | 162 | ||
163 | ; convert string to DWord for decimal value |
163 | ; convert string to DWord for decimal value |
164 | proc strtoint_dec stdcall,strs |
164 | proc strtoint_dec stdcall,strs |
165 | pushad |
165 | pushad |
166 | xor edx, edx |
166 | xor edx, edx |
167 | ; ¯®¨áª ª®æ |
167 | ; поиск конца |
168 | mov esi, [strs] |
168 | mov esi, [strs] |
169 | @@: |
169 | @@: |
170 | lodsb |
170 | lodsb |
171 | or al, al |
171 | or al, al |
Line 178... | Line 178... | ||
178 | 178 | ||
179 | @@: |
179 | @@: |
180 | dec ebx |
180 | dec ebx |
181 | or ebx, ebx |
181 | or ebx, ebx |
182 | jz @f |
182 | jz @f |
183 | imul ecx, ecx, 10; ¯®à冷ª |
183 | imul ecx, ecx, 10; порядок |
184 | jmp @b |
184 | jmp @b |
Line 185... | Line 185... | ||
185 | @@: |
185 | @@: |