eax ebx ecx edx 存放变量的寄存器
ebp 栈底指针寄存器
esp 栈顶指针寄存器
汇编指令
mov 移植 mov eax,4;
lea 移地址 lea dword ptr[eax],[a];
[a] 取a的地址
dword 4个字节
sub 累减 eax-=4;
add 累加 eax+=4;
push 压栈(入栈)指令 push 0a;
pop eax 出栈 eax = pop;
eax ebx ecx edx 存放变量的寄存器
ebp 栈底指针寄存器
esp 栈顶指针寄存器
汇编指令
mov 移植 mov eax,4;
lea 移地址 lea dword ptr[eax],[a];
[a] 取a的地址
dword 4个字节
sub 累减 eax-=4;
add 累加 eax+=4;
push 压栈(入栈)指令 push 0a;
pop eax 出栈 eax = pop;