Skip to content

Instantly share code, notes, and snippets.

@Muratam
Created April 24, 2020 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Muratam/b99b1060f921c9f7a248d6d519fac96c to your computer and use it in GitHub Desktop.
Save Muratam/b99b1060f921c9f7a248d6d519fac96c to your computer and use it in GitHub Desktop.
x.c
asm(
" .s\145ct\151\157n .r\157d\141t\141\n"
".LC0:\n"
" .str\151ng \"H\145ll\157\"\n"
" .t\145xt\n"
" .gl\157bl m\141\151n\n"
" .t\171p\145 m\141\151n, @f\165nct\151\157n\n"
"m\141\151n:\n"
".LFB0:\n"
" .cf\151_st\141rtpr\157c\n"
" p\165shq %rbp\n"
" .cf\151_d\145f_cf\141_\157ffs\145t 16\n"
" .cf\151_\157ffs\145t 6, -16\n"
" m\157vq %rsp, %rbp\n"
" .cf\151_d\145f_cf\141_r\145g\151st\145r 6\n"
" l\145\141q .LC0(%r\151p), %rd\151\n"
" c\141ll p\165ts@PLT\n"
" m\157vl $0, %\145\141x\n"
" p\157pq %rbp\n"
" .cf\151_d\145f_cf\141 7, 8\n"
" r\145t\n"
" .cf\151_\145ndpr\157c\n"
".LF\1050:\n"
" .s\151z\145 m\141\151n, .-m\141\151n\n"
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment