remove loop instruction, it was causing problems when the destination was too far away, fixes #2459

git-svn-id: file:///home/svn/framework3/trunk@10385 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Joshua Drake 2010-09-20 03:26:41 +00:00
parent 3dae16482f
commit 3c505f4c5d
1 changed files with 4 additions and 2 deletions

View File

@ -995,7 +995,8 @@ require 'metasm'
not_lowercase: ;
ror edi, 13 ; Rotate right our hash value
add edi, eax ; Add the next byte of the name
loop loop_modname ; Loop untill we have read enough
dec ecx
jnz loop_modname ; Loop untill we have read enough
; We now have the module hash computed
push edx ; Save the current position in the module list for later
push edi ; Save the current module hash for later
@ -1198,7 +1199,8 @@ require 'metasm'
not_lowercase: ;
ror edi, 13 ; Rotate right our hash value
add edi, eax ; Add the next byte of the name
loop loop_modname ; Loop untill we have read enough
dec ecx
jnz loop_modname ; Loop untill we have read enough
; We now have the module hash computed
push edx ; Save the current position in the module list for later
push edi ; Save the current module hash for later