When.com Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. Call stack - Wikipedia

    en.wikipedia.org/wiki/Call_stack

    For instruction set architectures in which the instruction used to call a subroutine puts the return address into a register, rather than pushing it onto the stack, the prologue will commonly save the return address by pushing the value onto the call stack, although if the called subroutine does not call any other routines it may leave the ...

  3. Calling convention - Wikipedia

    en.wikipedia.org/wiki/Calling_convention

    In addition, the stack pointer must always be 4-byte aligned, and must always be 8-byte aligned at a function call with a public interface. [3] This calling convention causes a "typical" ARM subroutine to: In the prologue, push r4 to r11 to the stack, and push the return address in r14 to the stack (this can be done with a single STM instruction);

  4. x86 calling conventions - Wikipedia

    en.wikipedia.org/wiki/X86_calling_conventions

    ; The 'enter' instruction can also do something similar); sub esp, 12 : 'enter' instruction could do this for us; mov [ebp-4], 3 : or mov [esp+8], 3; mov [ebp-8], 2 : or mov [esp+4], 2; mov [ebp-12], 1 : or mov [esp], 1 push 3 push 2 push 1 call callee; call subroutine 'callee' add esp, 12; remove call arguments from frame add eax, 5; modify ...

  5. x86 instruction listings - Wikipedia

    en.wikipedia.org/wiki/X86_instruction_listings

    Below is the full 8086/8088 instruction set of Intel (81 instructions total). [2] These instructions are also available in 32-bit mode, in which they operate on 32-bit registers (eax, ebx, etc.) and values instead of their 16-bit (ax, bx, etc.) counterparts.

  6. List of CIL instructions - Wikipedia

    en.wikipedia.org/wiki/List_of_CIL_instructions

    Indirect load value of type int16 as int32 on the stack. Base instruction 0x4A ldind.i4: Indirect load value of type int32 as int32 on the stack. Base instruction 0x4C ldind.i8: Indirect load value of type int64 as int64 on the stack. Base instruction 0x4E ldind.r4: Indirect load value of type float32 as F on the stack. Base instruction 0x4F ...

  7. Stack register - Wikipedia

    en.wikipedia.org/wiki/Stack_register

    The stack segment register (SS) is usually used to store information about the memory segment that stores the call stack of currently executed program. SP points to current stack top. By default, the stack grows downward in memory, so newer values are placed at lower memory addresses. To save a value to the stack, the PUSH instruction

  8. x86 assembly language - Wikipedia

    en.wikipedia.org/wiki/X86_assembly_language

    Instructions such as push, pop, call and ret are used with the properly set up stack to pass parameters, to allocate space for local data, and to save and restore call-return points. The ret size instruction is very useful for implementing space efficient (and fast) calling conventions where the callee is responsible for reclaiming stack space ...

  9. Function (computer programming) - Wikipedia

    en.wikipedia.org/wiki/Function_(computer...

    The DEC PDP-6 [14] (1964) is one of the first accumulator-based machines to have a subroutine call instruction that saved the return address in a stack addressed by an accumulator or index register. The later PDP-10 (1966), PDP-11 (1970) and VAX-11 (1976) lines followed suit; this feature also supports both arbitrarily deep subroutine nesting ...