git-svn-id: svn://kolibrios.org@296 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Alexey Teplov ( 2007-01-26 13:03:48 +00:00
parent 94747a3d1a
commit c3a36dffbc

View File

@ -277,7 +277,7 @@ ret
;---------------------------------------------------------- ;----------------------------------------------------------
;--- ¯à®¢¥àª , § è¥« «¨ ªãàá®à §  £à ­¨æë ¨, ¥á«¨ ­ ¤®, --- ;--- ¯à®¢¥àª , § è¥« «¨ ªãàá®à §  £à ­¨æë ¨, ¥á«¨ ­ ¤®, ---
;--- ¨§¬¥­ï¥¬ ᬥ饭¨¥ ------------------------------------ ;--- ¨§¬¥­ï¥¬ ᬥ饭¨¥ ------------------------------------
;--- eax = 1, ・皚ィ ュ・ ィァャ・ュィォョ碆 ィォィ eax = 0, ・皚ィ ;--- eax = -1, ¥á«¨ ­¥ ¨§¬¥­¨«®áì ¨«¨ eax = 0, ¥á«¨
; ¨§¬¥­¨«®áì ; ¨§¬¥­¨«®áì
;---------------------------------------------------------- ;----------------------------------------------------------
.check_offset: .check_offset:
@ -296,11 +296,13 @@ ret
ja @f ja @f
mov edx,ed_size mov edx,ed_size
sub edx,eax cmp edx,ecx
je .add_end
sub edx,ecx
cmp edx,8 cmp edx,8
jbe .add_8 jbe .add_8
mov ebx,edx add ebx,8
; add ebx,8
jmp .chk_d jmp .chk_d
.sub_8: cmp ecx,0 .sub_8: cmp ecx,0
@ -313,7 +315,11 @@ ret
xor ebx,ebx xor ebx,ebx
jmp .chk_d jmp .chk_d
.add_8: mov ebx,edx .add_end:sub edx,eax
mov ebx,edx
jmp .chk_d
.add_8: add ebx,edx
; ;----------- ®â« ¤ª  ; ;----------- ®â« ¤ª 
; pushad ; pushad
; mov [data_of_code],0 ; mov [data_of_code],0