SHARE
TWEET

Untitled

a guest Aug 21st, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .global _func  
  2. func:  
  3. mov %rdx,%rax  
  4. ret
  5.      
  6. .text  
  7. .global _func  
  8. _func:  
  9. mov rax,rdx  
  10. ret
  11.      
  12. #include <stdio.h>
  13. void func(void);
  14. int main(int argc, const char * argv[]) {
  15.     func();
  16.     return 0;
  17. }
  18.      
  19. .intel_syntax noprefix
  20. .text  
  21. .global _func  
  22. _func:  
  23. mov rax,rdx  
  24. 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
 
Top