Programs and patches

AMD64 registers

A compact reference to AMD64 register names, numbering, and use.

Last updated · 20 July 2007

AMD64 registers

Register names, numbers and purposes on the AMD64 architecture running Linux.
For more information see AMD64 ABI.

DescriptionRAXRBXRCXRDXRSIRDIRBPRSPR8R9R10R11R12R13R14R15RIP/RA
Dwarf2 number032145678910111213141516
Preserved across function callsYesYesYesYesYesYesYesN/A
Function parameter4th3rd2nd1st5th6thN/A
Return register1st2ndN/A
Kernel parameter#NR3rd2nd1st5th6th4thN/A