Skip to content

Instantly share code, notes, and snippets.

@glommer
Last active June 15, 2022 10:18
Show Gist options
  • Save glommer/b7e2245d2dbfb9cc3e297a7475b789c0 to your computer and use it in GitHub Desktop.
Save glommer/b7e2245d2dbfb9cc3e297a7475b789c0 to your computer and use it in GitHub Desktop.
f:
push rbp ; push register into the stack
mov rbp, rsp ; adjust the stack pointer
mov eax, 0 ; set the return register to 0
pop rbp ; pop the stack
ret ; return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment