-
어셈블리어프로그래밍 언어/서브루틴 2013. 5. 8. 01:44
function name(label)
a symbol that represents the address where the function’s code starts
call instruction
Copying the stack pointer into the base pointer at the beginning of a function
%ebp is a constant reference to the stack frame
function parameters
pushes all of the parameters for the function onto the stack in the reverse order
%ebp # fixed indexes from the base pointer
return address
call instruction pushes the address of the next instruction onto the stack
local variables
%ebp # fixed indexes from the base pointer
return value
%eax
calling convention of the C programming language
the standard for Linux platforms
ABI, or Application Binary Interface