Last active
August 29, 2015 14:16
-
-
Save segrax/273c1c12ccc06c05cf83 to your computer and use it in GitHub Desktop.
x64 CPU Register function call usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RAX temporary register; with variable arguments passes information about the number of vector registers used; 1st return register | |
RDI used to pass 1st argument to functions | |
RSI used to pass 2nd argument to functions | |
RDX used to pass 3rd argument to functions; 2nd return register | |
RCX used to pass 4th argument to functions | |
R8 used to pass 5th argument to functions | |
R9 used to pass 6th argument to functions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment