Difference between revisions of "Example 2"

From SkullSecurity
Jump to: navigation, search
(New page: <pre> lea edi, [esi+0Bh] mov ecx, 0C2h top: mov eax, ecx mov ebx, 0Ch cdq idiv ebx mov al, [edi] sub ecx, 11h dec edi cmp e...)
 
Line 1: Line 1:
 +
{{Infobox assembly}}
 +
 
<pre>
 
<pre>
 
   lea    edi, [esi+0Bh]
 
   lea    edi, [esi+0Bh]
Line 16: Line 18:
 
   jge    top
 
   jge    top
 
</pre>
 
</pre>
 +
 +
 +
[[Category: Assembly examples]]

Revision as of 19:29, 12 March 2007

Assembly Language Tutorial
Please choose a tutorial page:
   lea     edi, [esi+0Bh]
   mov     ecx, 0C2h
top:
   mov     eax, ecx
   mov     ebx, 0Ch
   cdq
   idiv    ebx
   mov     al, [edi]
   sub     ecx, 11h
   dec     edi
   cmp     ecx, 7
   mov     bl, [edx+esi]
   mov     [edi+1], bl
   mov     [edx+esi], al
   jge     top