Skip to content

Make Me Engineer

  • html
  • java
  • php
  • javascript
  • c#
  • math

cpu-registers

Why are x86 registers named the way they are?

Something i found * EAX – Accumulator Register * EBX – Base Register * ECX – Counter Register * EDX – Data Register * ESI – Source Index * EDI – Destination Index * EBP – Base Pointer * ESP – Stack Pointer

Categories assembly Tags assembly, cpu-registers, history, naming, x86 Leave a comment

Reading a register value into a C variable [duplicate]

Editor’s note: this way of using a local register-asm variable is now documented by GCC as “not supported”. It still usually happens to work on GCC, but breaks with clang. (This wording in the documentation was added after this answer was posted, I think.) The global fixed-register variable version has a large performance cost for … Read more

Categories c Tags assembly, c#, cpu-registers, gcc, inline-assembly Leave a comment

Assembly registers in 64-bit architecture

Categories assembly Tags 32bit-64bit, assembly, cpu-registers, itanium, x86-64 Leave a comment

x86_64 registers rax/eax/ax/al overwriting full register contents [duplicate]

Categories assembly Tags assembly, cpu-registers, x86-64, zero-extension Leave a comment

Differences between general purpose registers in 8086: [bx] works, [cx] doesn’t?

On the 8086 (and 16-bit addressing in x86), only addressing modes of the form [bp|bx] + [si|di] + disp0/8/16 are available. Listing them all: [bx] [bx + foo] [foo] [bp + foo] [si] [si + foo] [di] [di + foo] [bx + si] [bx + si + foo] [bx + di] [bx + di + … Read more

Categories assembly Tags addressing-mode, assembly, cpu-registers, x86-16 Leave a comment

x86 registers: MBR/MDR and instruction registers

Categories x86 Tags cpu, cpu-architecture, cpu-registers, x86 Leave a comment

Why isn’t the instruction pointer a normal register usable with MOV or ADD?

Categories assembly Tags assembly, cpu-architecture, cpu-registers, program-counter, x86 Leave a comment

Why are rbp and rsp called general purpose registers?

Categories assembly Tags assembly, cpu-registers, x86-64 Leave a comment

x86 Calculating AX given AH and AL?

Categories assembly Tags assembly, cpu-registers, x86 Leave a comment

Why can’t you set the instruction pointer directly?

Categories x86 Tags cpu-registers, program-counter, x86 Leave a comment
Older posts
Page1 Page2 Next →
+ More
  • How do I get a reference to the AppDelegate in Swift?
  • Run a java function after a specific number of seconds
  • How can I change the color of an ‘svg’ element?
  • Is there a “subgrid” feature, to position “grandchildren” of a grid container?
  • How do I read image data from a URL?
  • How can I write ‘a:hover’ in inline CSS?
  • How can one make a dictionary with duplicate keys in Python?
  • Share cookies between subdomain and domain
  • How can I install MinGW-w64 and MSYS2?
  • TypeError: ‘int’ object is not subscriptable – Trying To Create A Graph
© 2021 w3toppers.com
Next Page »