SHARE
TWEET

Untitled

a guest Jun 25th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. global polesum
  2. polesum:
  3.         enter 0,0
  4.  
  5.         push esi
  6.         push edi
  7.         push ebx
  8.  
  9.         mov ebx, [ebp + 8]
  10.         mov ecx, [ebp + 12]
  11.  
  12.         mov esi,0 ;L
  13.         mov edi,0 ;H
  14.  
  15. .telo:
  16.  
  17.         mov eax,[ebx + (ecx  - 1) * 4]
  18.         cdq
  19.  
  20.         ;;;; long long b ;;;
  21.         push edi ;h
  22.         push esi ;l
  23.  
  24.         ;;;; long long a ;;;
  25.         push edx ;h
  26.         push eax ;l
  27.         call add_ll
  28.         add esp,16
  29.  
  30.         mov esi,eax
  31.         mov edi,edx
  32.        
  33.         loop .telo
  34.  
  35.         mov eax,esi
  36.         mov edx,edi
  37.  
  38.         pop ebx
  39.         pop edi
  40.         pop esi
  41.         leave
  42.         ret
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