About 50 results
Open links in new tab
  1. How to read registers: RAX, RBX, RCX, RDX, RSP. RBP, RSI, RDI in C …

    Dec 13, 2013 · @DavidHeffernan: I just want to read values that are currently in those registers: RAX, RBX, RCX, RDX, RSP. RBP, RSI, RDI and print them out, thats it.

  2. x86 64 - Why is the %rax register used in the assembly for this ...

    Dec 9, 2020 · @RossRidge given %rax is the go-to register for storing return values, seeing it used in another way is surprising to me. It means that reading the disassembled code requires …

  3. assembly - How is "rax" different from "eax"? - Stack Overflow

    Jul 7, 2017 · The registers starting with r as in rax, rbx, etc, are the 64-bit registers introduced with the AMD64 extension to the existing 32-bit x86 ISA. That ISA extension was subsequently …

  4. x86_64 registers rax/eax/ax/al overwriting full register contents

    As it is widely advertised, modern x86_64 processors have 64-bit registers that can be used in backward-compatible fashion as 32-bit registers, 16-bit registers and even 8-bit registers, for …

  5. assembly - What does 'callq * (%rax)' mean? - Stack Overflow

    Jul 10, 2019 · Thus (%rax) means to get the value of the pointer currently stored in %rax. What does the star decoration do on that? Does that further dereference that value (thus (%rax) is …

  6. assembly - How do AX, AH, AL map onto EAX? - Stack Overflow

    RAX is the full 64-bit value, with EAX and its sub-components mapped to the lower 32 bits. The upper half of 64-bit registers is only accessible in 64-bit mode, unlike 32-bit registers which …

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

    Nov 18, 2009 · The old 32-bit registers have been extended to 64 bits, the r registers (rax, rbx, rsp and so on). In addition, there's some extra general purpose registers r8 through r15 which can …

  8. Understanding assembly language operand forms - Stack Overflow

    Jun 26, 2021 · 9(%rax, %rdx) value of %rax is 0x100 value of %rdx is 0x3 While you are correct that the answer should be the contents of memory at 9 + %rax + %rdx, in this instance, 9 is in …

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

    Apr 10, 2016 · According to Intel, in x64, the following registers are called general-purpose registers (RAX, RBX, RCX, RDX, RBP, RSI, RDI, RSP and R8-R15). In the article …

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

    • RDX:RAX register pair representing a 128-bit operand See the question and answer for x86_64 registers rax/eax/ax/al overwriting full register contents as well as Why do most x64 …