Rev 295 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 295 | Rev 296 | ||
---|---|---|---|
Line 275... | Line 275... | ||
275 | int 0x40 |
275 | int 0x40 |
276 | ret |
276 | ret |
277 | ;---------------------------------------------------------- |
277 | ;---------------------------------------------------------- |
278 | ;--- ¯à®¢¥àª , § 襫 «¨ ªãàá®à § £à ¨æë ¨, ¥á«¨ ¤®, --- |
278 | ;--- ¯à®¢¥àª , § 襫 «¨ ªãàá®à § £à ¨æë ¨, ¥á«¨ ¤®, --- |
279 | ;--- ¨§¬¥ï¥¬ ᬥ饨¥ ------------------------------------ |
279 | ;--- ¨§¬¥ï¥¬ ᬥ饨¥ ------------------------------------ |
280 | ;--- eax = 1, ¥á«¨ ¥ ¨§¬¥¨«®áì ¨«¨ eax = 0, ¥á«¨ |
280 | ;--- eax = -1, ¥á«¨ ¥ ¨§¬¥¨«®áì ¨«¨ eax = 0, ¥á«¨ |
281 | ; ¨§¬¥¨«®áì |
281 | ; ¨§¬¥¨«®áì |
282 | ;---------------------------------------------------------- |
282 | ;---------------------------------------------------------- |
283 | .check_offset: |
283 | .check_offset: |
284 | pushad |
284 | pushad |
285 | mov ecx,ed_pos |
285 | mov ecx,ed_pos |
Line 294... | Line 294... | ||
294 | add edx,eax ;ed_offset+width editbox |
294 | add edx,eax ;ed_offset+width editbox |
295 | cmp edx,ecx |
295 | cmp edx,ecx |
296 | ja @f |
296 | ja @f |
Line 297... | Line 297... | ||
297 | 297 | ||
- | 298 | mov edx,ed_size |
|
- | 299 | cmp edx,ecx |
|
- | 300 | je .add_end |
|
298 | mov edx,ed_size |
301 | |
299 | sub edx,eax |
302 | sub edx,ecx |
300 | cmp edx,8 |
303 | cmp edx,8 |
301 | jbe .add_8 |
- | |
302 | mov ebx,edx |
304 | jbe .add_8 |
303 | ; add ebx,8 |
305 | add ebx,8 |
Line 304... | Line 306... | ||
304 | jmp .chk_d |
306 | jmp .chk_d |
305 | 307 | ||
306 | .sub_8: cmp ecx,0 |
308 | .sub_8: cmp ecx,0 |
Line 311... | Line 313... | ||
311 | jmp .chk_d |
313 | jmp .chk_d |
312 | .sub_min: |
314 | .sub_min: |
313 | xor ebx,ebx |
315 | xor ebx,ebx |
314 | jmp .chk_d |
316 | jmp .chk_d |
Line -... | Line 317... | ||
- | 317 | ||
- | 318 | .add_end:sub edx,eax |
|
- | 319 | mov ebx,edx |
|
315 | 320 | jmp .chk_d |
|
- | 321 | .add_8: add ebx,edx |
|
316 | .add_8: mov ebx,edx |
322 | |
317 | ; ;----------- ®â« ¤ª |
323 | ; ;----------- ®â« ¤ª |
318 | ; pushad |
324 | ; pushad |
319 | ; mov [data_of_code],0 |
325 | ; mov [data_of_code],0 |
320 | ; mov eax,ebx;ed_offset |
326 | ; mov eax,ebx;ed_offset |