IA32中子程序调用指令CALL的描述为:
Saves procedure linking information on the stack and branches to the called procedure specofoed using the target operand.(参见Intel 64 and IA32 Architectures Software Developer's Manual-Volume 2A: Instruction set Reference, A-M page3-86)
即先将返回地址存入堆栈,然后跳转到指定标号地址处。
IA32中子程序返回指令RET的描述:
Transfers program control to a return address located on the top of the stack.The address is usually placed on the stack bu a CALL instruction, and the return is made to the instruction that follows the CALL instruction.(参见Intel 64 and IA32 Architectures Software Developer's Manual-Volume 2B: Instruction set Reference, N-Z page4-253)