Skip to content

Instantly share code, notes, and snippets.

@sushant94
Last active September 16, 2015 21:03
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 sushant94/abe570018dc429778ecb to your computer and use it in GitHub Desktop.
Save sushant94/abe570018dc429778ecb to your computer and use it in GitHub Desktop.
global _main
section .text
main:
mov rax, 2048
cmp rax, 2048
je equal
add rax, 1
equal:
mov rbx, rax
ret
384: 2048,rax,=
394: 2048,rax,==,%z,zf,=,%b64,cf,=,%p,pf,=,%s,sf,=
400: zf,?{,408,rip,=,}
402: 1,rax,+=
408: rax,rbx,=
411: rsp,[8],rip,=,8,rsp,+=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment