enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Call stack - Wikipedia

    en.wikipedia.org/wiki/Call_stack

    Each stack frame contains a stack pointer to the top of the frame immediately below. The stack pointer is a mutable register shared between all invocations. A frame pointer of a given invocation of a function is a copy of the stack pointer as it was before the function was invoked. [2]

  3. Stack-based memory allocation - Wikipedia

    en.wikipedia.org/wiki/Stack-based_memory_allocation

    A typical stack, storing local data and call information for nested procedure calls (not necessarily nested procedures). This stack grows downward from its origin. The stack pointer points to the current topmost datum on the stack. A push operation decrements the pointer and copies the data to the stack; a pop operation copies data from the ...

  4. Calling convention - Wikipedia

    en.wikipedia.org/wiki/Calling_convention

    In particular, how the stack frame is restored so the caller may continue after the callee has finished. Whether and how metadata describing the arguments is passed; Where the previous value of the frame pointer is stored, which is used to restore the stack frame when the subroutine ends. Options include within the call stack, or in a specific ...

  5. x86 calling conventions - Wikipedia

    en.wikipedia.org/wiki/X86_calling_conventions

    caller:; make new call frame; (some compilers may produce an 'enter' instruction instead) push ebp; save old call frame mov ebp, esp; initialize new call frame; push call arguments, in reverse; (some compilers may subtract the required space from the stack pointer,; then write each argument directly, see below.

  6. Stack register - Wikipedia

    en.wikipedia.org/wiki/Stack_register

    Newer processors contain a dedicated stack engine to optimize stack operations. Pentium M was the first x86 processor to introduce a stack engine. In its implementation, the stack pointer is split among two registers: ESP O, which is a 32-bit register, and ESP d, an 8-bit delta value that

  7. Function prologue and epilogue - Wikipedia

    en.wikipedia.org/wiki/Function_prologue_and_epilogue

    Drop the stack pointer to the current base pointer, so room reserved in the prologue for local variables is freed. Pops the base pointer off the stack, so it is restored to its value before the prologue. Returns to the calling function, by popping the previous frame's program counter off the stack and jumping to it.

  8. Stack trace - Wikipedia

    en.wikipedia.org/wiki/Stack_trace

    In computing, a stack trace (also called stack backtrace [1] or stack traceback [2]) is a report of the active stack frames at a certain point in time during the execution of a program. When a program is run, memory is often dynamically allocated in two places: the stack and the heap. Memory is continuously allocated on a stack but not on a ...

  9. Stack (abstract data type) - Wikipedia

    en.wikipedia.org/wiki/Stack_(abstract_data_type)

    A pop or pull operation: a data item at the current location to which the stack pointer points is read, and the stack pointer is moved by a distance corresponding to the size of that data item. There are many variations on the basic principle of stack operations. Every stack has a fixed location in memory at which it begins.