Jason Turley's Website

x86-64 Register Cheatsheet

Notes for x86-64 registers and useful pwning info.

References

CPU Registers

RegistersNotes
64-bit32-bit16-bit8-bit high8-bit low
RAXEAXAXAHALAccumulator. Stores return value
RBXEBXBXBHBLBase
RCXECXCXCHCLCounter for loops
RDXEDXDXDHDLData (commonly extends the A register)
RSIESISIN/ASILSource index for string operations
RDIEDIDIN/ADILDestination index for string operations
RSPESPSPN/ASPLStack Pointer
RBPEBPBPN/ABPLStack Frame Base Pointer
R8R8DR8WN/AR8BGeneral purpose
R9R9DR9WN/AR9BGeneral purpose
R10R10DR10WN/AR10BGeneral purpose
R11R11DR11WN/AR11BGeneral purpose
R12R12DR12WN/AR12BGeneral purpose
R13R13DR13WN/AR13BGeneral purpose
R14R14DR14WN/AR14BGeneral purpose
R15R15DR15WN/AR15BGeneral purpose

Unix Calling Convention

#cheatsheets