About 11,100,000 results
Open links in new tab
  1. What is the purpose of the RBP register in x86_64 assembler?

    172 rbp is the frame pointer on x86_64. In your generated code, it gets a snapshot of the stack pointer (rsp) so that when adjustments are made to rsp (i.e. reserving space for local variables …

  2. Why are RBP and RSP called general-purpose registers?

    Apr 10, 2016 · In the article Understanding C by learning assembly, it's written that RBP and RSP are special-purpose registers (RBP points to the base of the current stack frame and RSP …

  3. Why RBP instead of another register as a frame pointer?

    Mar 28, 2021 · 4 I understand the usage of push rbp... pop rbp at the start and end of a function to preserve the rbp value of the calling function, since the rbp register is callee-preserved. And …

  4. assembly - Are there different ways to set RBP? Why does …

    Mar 13, 2023 · Putting RBP closer to the middle of space you might want to access increases the amount of space you can reach with [rbp + disp8], which uses a sign-extended 8-bit …

  5. x86 - What do these assembly lines mean? - Stack Overflow

    May 1, 2021 · I am struggling on a homework because I do not understand what these lines are supposed to mean ? mov rax, qword ptr [rbp - 0x28] mov rax, qword ptr [rax] mov eax, dword …

  6. What does the R stand for in RAX, RBX, RCX, RDX, RSI, RDI, RBP, …

    The x86 assembler language has had to change as the x86 processor architecture has changed from 8bit to 16bit to 32bit and now 64bit. I know that in 32bit assembler register names (EAX, …

  7. assembly - Is RBP/EBP register really necessary to support Variable ...

    Jun 2, 2016 · CSAPP 3rd edition said: To manage a variable-size stack frame, x86-64 code uses register %rbp to server as a frame pointer. However, I'm curious whether this %rbp register is …

  8. What are the names of the new X86_64 processors registers?

    Nov 18, 2009 · EDX -> RDX ESI -> RSI EDI -> RDI ESP -> RSP EBP -> RBP X64 also adds the following 64-bit general purpose registers: R8, R9, R10, R11, R12, R13, R14, R15 …

  9. assembly - "mov rbp, rsp" in function prologue - Stack Overflow

    May 8, 2021 · 1 push rbp mov rbp, rsp mov DWORD PTR [rbp-0x4],edi In assembly function prologue, isn't push rbp already moves its value to rsp ? Why did mov rbp, rsp instruction …

  10. c - why x86 assembly function call first argument is rbp - 4 rather ...

    Sep 12, 2023 · why x86 assembly function call first argument is rbp - 4 rather then rbp + 4 Because you compiled it without optimiations and compiler has provided automatic storage for …