Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2019
94
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.         movl    $0, %eax
  8.         pushl   %eax
  9.         pushl   %eax
  10.         pushl   %eax
  11.        
  12.         // args: ll: 8, u: 16, void*: 20
  13.  
  14.         movl    8(%ebp), %eax
  15.         pushl   %eax
  16.  
  17.         movl    16(%ebp), %eax
  18.         movl    $0, %edx
  19.         pushl   %edx
  20.         pushl   %eax
  21.  
  22.         movl    20(%ebp), %ecx
  23.  
  24.         call    process
  25.         movl    $0, %edx
  26.  
  27.         movl    %ebp, %esp
  28.         popl    %ebp
  29.  
  30.         ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement