All registers are the x86-64 machine word (data bus width) the same, i.e., 64-bit, extended x86 x86-64 eight 32-bit general-purpose 64-bit registers (eax, ebx, ecx, edx, eci, edi, ebp, esp), and adds eight new 64-bit registers (r8-r15), on naming, but also from "exx" becomes "rxx", but remains "exx" 32-bit operation, the following table describes the name and function of each register.
description |
32 place |
64 place |
General-purpose register group |
eax |
rax |
even |
rcx |
|
edx |
rdx |
|
ebx |
rbx |
|
esp |
rsp |
|
ebp |
rbp |
|
you |
rsi |
|
I know |
rdi |
|
- |
r8-r15 |
|
Floating point register |
st0~st7 |
st0~st7 |
XMM register set |
xmm0~xmm7 |
xmm0~xmm15 |
% Esp% ebp with special purposes, program stack is used to save a pointer to a specific location.
Reference article:
(1) the Java Main How to be executed? https://www.cnblogs.com/iceAeterNa/p/4876940.html