Skip to content

Instantly share code, notes, and snippets.

@kaworu
Created August 31, 2018 11:44
Show Gist options
  • Save kaworu/23060cba81f8bdfbaf316a414fb402f0 to your computer and use it in GitHub Desktop.
Save kaworu/23060cba81f8bdfbaf316a414fb402f0 to your computer and use it in GitHub Desktop.
_main:
1fa0: 55 pushl %ebp
1fa1: 89 e5 movl %esp, %ebp
1fa3: 50 pushl %eax
1fa4: b8 01 00 00 00 movl $1, %eax
1fa9: c7 45 fc 00 00 00 00 movl $0, -4(%ebp)
1fb0: 83 c4 04 addl $4, %esp
1fb3: 5d popl %ebp
1fb4: c3 retl
@kaworu
Copy link
Author

kaworu commented Aug 31, 2018

int main(void) { return 1; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment