Difference between revisions of "Example 2"

From SkullSecurity
Jump to navigation Jump to search
Line 20: Line 20:




[[Category: Assembly examples]]
[[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