Advertisement
andreyminin

Untitled

Mar 12th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     .text
  2.     .global forward.args
  3. forward.args:
  4.     pushl   %ebp
  5.     movl    %esp, %ebp
  6.    
  7.     subl    $8, %esp
  8.  
  9.     movl    8(%ebp), %eax
  10.     movl    %eax, -8(%ebp)
  11.    
  12.     movl    16(%ebp), %eax
  13.     movl    20(%ebp), %ecx
  14.     movl    $0, %edx
  15.  
  16.     subl    $4, %esp
  17.    
  18.     pushl   -8(%ebp)
  19.     pushl   %edx
  20.     pushl   %eax
  21.    
  22.     call    process
  23.    
  24.     addl    $16, %esp
  25.  
  26.     movl    $0, %edx
  27.  
  28.     movl    %ebp, %esp
  29.     popl    %ebp
  30.     ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement