Compilation of knowledge accumulation

Compilation of knowledge accumulation

Assembler jump instruction: JMP, JECXZ, JA, JB , JG, JL, JE, JZ, JS, JC, JO, JP et
assembler instruction cmp Detailed Comparison

move eax, dword ptr [ebp + 8] specify the size of the content ebp + 8 copied to eax
Move eax, dword PTR [eax] to copy the data size dword eax address pointing to data in eax;

ret instruction data stack, the content of the IP, in order to achieve nearly the transfer;
RETF instruction data stack, CS and IP modified content, in order to achieve far transfer.

When the call instruction executed CPU, for 2-step operation:
the current CS and IP IP or pushed onto the stack
transfer

Guess you like

Origin www.cnblogs.com/qiangge-blog/p/11301284.html