Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Would anyone know where the best "official" Intel documentation regarding the low level architecture/assembler internals would be? How the ESP works, the various registers- fetching values from RAM etc?

The Intel website is massive and I could find Agner Fog's website- but I was expecting a mammoth document for this.

share|improve this question

The absolute definitive reference is the Intel 64 and IA-32 Architectures Software Developer Manuals, they're a great resource to understand the x86 architecture from a programmer's point of view (assuming you're comfortable with assembly already).

I would recommend that you download the combined volumes 1 through 3C (first download link on that page). Volume 1 is a great overview of Intel's x86(-64) architecture, including various details regarding pipeline depths, register sizes, and available components in their processors. If you need to refer to how specific instructions work, see Vol. 2, Ch. 3-4 (I believe binary instruction encoding is covered later in that volume as well).

For how the assembler itself works, that all depends on what assembler you're using in the first place. You can easily find the assembler details for NASM/GAS on their respective websites, and there's tons of resources for MASM(32). However, this is all independent of how the CPU works, so I believe what you're asking for should be covered entirely by the Intel documentation linked to above.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .