X86 架构
Intel 和 AMD
X86 寄存器
name |
名称 |
16 位 |
32 位 |
64 位 |
通用寄存器 |
Accumulator |
ax |
eax |
rax |
通用寄存器 |
Base |
bx |
ebx |
rbx |
通用寄存器 |
Counter |
cx |
ecx |
rcx |
通用寄存器 |
Data |
dx |
edx |
rdx |
指针寄存器 |
Stack Pointer |
sp |
esp |
rsp |
指针寄存器 |
Base Pointer |
bp |
ebp |
rbp |
变地址寄存器 |
Source Index |
si |
esi |
rsi |
变地址寄存器 |
Destination Index |
di |
edi |
rdi |
控制寄存器 |
Instruction Pointer |
ip |
eip |
rip |
控制寄存器 |
Flag |
flag |
flag |
flag |
段寄存器 |
Code Segment |
cs |
cs |
cs |
段寄存器 |
Data Segment |
ds |
ds |
ds |
段寄存器 |
Stack Segment |
ss |
ss |
ss |
段寄存器 |
Extra Segment |
es |
es |
es |
汇编指令
|
|
mov |
|
push |
|
pop |
|
jmp |
|
lea |
|
cmp |
|
xor |
|
add |
|
sub |
|
ret |
|
call |
|
int |
|
sete |
|