Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----------
- C
- ----------
- #include <stdio.h>
- #include <stdlib.h>
- int main(){
- return 0;
- }
- --------------
- c2nasm
- gcc(7.3.0)
- gcc -m64 -O3
- --------------
- default rel
- global main
- SECTION .text
- SECTION .data
- SECTION .bss
- SECTION .text.startup
- main:
- xor eax, eax
- ret
- --------------
- c2nasm
- gcc(7.3.0)
- gcc -m64 -O0
- --------------
- default rel
- global main
- SECTION .text
- main:
- push rbp
- mov rbp, rsp
- mov eax, 0
- pop rbp
- ret
- SECTION .data
- SECTION .bss
Advertisement
Add Comment
Please, Sign In to add comment