SHARE
TWEET

Untitled

a guest Oct 13th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.      mov     ecx, 0
  2.      mov     edi, 0
  3.      mov     esi, 0
  4.      mov     ebx, 0
  5.      top_sort:
  6.      cmp     edi, 10
  7.      jge     top_sort_end
  8.  
  9.          mov ebx, esi
  10.          inner_loop1:
  11.          cmp     ebx, 10
  12.          jge     end_loop1
  13.  
  14.          mov     eax, DWORD [numArr + ebx * 4]
  15.          cmp     eax, DWORD [numArr + ebx + 1 * 4]
  16.          jge     swapper
  17.          jmp     end_loop1
  18.  
  19.          swapper:
  20.          mov     ecx, DWORD [numArr + ebx + 1 * 4]
  21.          mov     DWORD [numArr + ebx * 4], ecx
  22.          mov     DWORD [numArr + ebx + 1 *4], eax
  23.          inc ebx
  24.          end_loop1:
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top