Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .global _func
- func:
- mov %rdx,%rax
- ret
- .text
- .global _func
- _func:
- mov rax,rdx
- ret
- #include <stdio.h>
- void func(void);
- int main(int argc, const char * argv[]) {
- func();
- return 0;
- }
- .intel_syntax noprefix
- .text
- .global _func
- _func:
- mov rax,rdx
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement