In
assembly language programming, the
function prologue is a few lines of code at the beginning of a function, which prepare the
stack and
registers for use within the function. Similarly, the
function epilogue appears at the end of the function, and restores the stack and registers to the state they were in before the function was called.