About 5,180,000 results
Open links in new tab
  1. What’s the difference between EAX, EBX, and ECX in assembly?

    Nov 11, 2022 · 36 eax, ebx, ecx and so on are actually registers, which can be seen as "hardware" variables, somewhat similar to higher level-language's variables. Registers can be …

  2. What does X mean in EAX,EBX,ECX ... in assembly?

    Mar 30, 2010 · EAX: "Extended Accumulator" - used for arithmetic and logical operations, as well as for storing return values from functions. EBX: "Extended Base" - often used as a pointer to …

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

    EAX is the full 32-bit value AX is the lower 16-bits AL is the lower 8 bits AH is the bits 8 through 15 (zero-based), the top half of AX So AX is composed of AH:AL halves, and is itself the low …

  4. assembly - The point of test %eax %eax - Stack Overflow

    Oct 25, 2012 · Possible Duplicate: x86 Assembly - ‘testl’ eax against eax? I'm very very new to assembly language programming, and I'm currently trying to read the assembly language …

  5. What is the purpose of XORing a register with itself?

    The XOR EAX,EAX simply 0's out the EAX register, it executes faster than a MOV EAX,$0 and doesn't need to fetch immediate data of 0 to load into eax It's very obvious this is the "return 0" …

  6. What does the bracket in `movl (%eax), %eax` mean?

    Sep 29, 2020 · LEA sets EAX = the address. MOV sets EAX = the value from memory at that address. Your re-phrasing of the existing answer isn't adding anything new, and is actually …

  7. Assembly registers in 64-bit architecture - Stack Overflow

    25 Following the answer about assembly registers' sizes: First, what sizes are eax, ax, ah and their counterparts, in the 64-bit architecture? How to access a single register's byte and how to …

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

    Jul 7, 2017 · Registers like eax, ebx, etc are the 32-bit registers which exist both in the original 32-bit x86 ISA, as well as the 64-bit x86-64. If your book refers only to those registers, it is likely …

  9. What does mov eax, dword ptr [eax] do? - Stack Overflow

    Sep 4, 2014 · For that, you'd typically do push dword ptr [eax], depending on your strategy for handling stack args. A more likely reason to find this in code is a loop over a linked-list or tree.

  10. assembly - `testl` eax against eax? - Stack Overflow

    000319e2 8b4004 movl 0x04(%eax), %eax 000319e5 85c0 testl %eax, %eax 000319e7 7407 je 0x000319f0 I am trying to understand that point of testl between %eax and %eax? I think the …