1 of 15

2 of 15

Intel processors

3 of 15

Intel processors

4 of 15

Intel processors

5 of 15

Intel processors

6 of 15

Intel x86 Architecture

add instruction Pg. 521

3463 pages

Used

80x86 Architecture & Programming

Volume II: Architecture Reference

book at Cyrix.

lots of complexity

7 of 15

Intel x86 Architecture

Intel’s 8086 architecture has, over the course of the last four decades, become the most popular instruction set in the laptop, desktop, and server markets. … Virtually all popular software has been ported to, or was developed for, the x86. The reasons for its popularity are myriad: the architecture’s serendipitous availability at the inception of the IBM PC; Intel’s laser focus on binary compatibility; their aggressive microarchitectural implementations; and their leading-edge fabrication technology.

The design quality of the instruction set architecture is not one of them.

from the Design of the RISC-V Instruction Set Architecture - Andrew Waterman 2016

8 of 15

Registers (32-bit architecture)

9 of 15

Registers (64-bit architecture)

http://cs.lmu.edu/~ray/notes/x86overview/

  • Register Set
  • Instruction Set
    • Streaming SIMD Extensions (SSE)
      • SIMD = Single Instruction Multiple Data
  • Addressing Modes
  • Flags

10 of 15

11 of 15

Instruction is anywhere from 1 to 12 bytes long

12 of 15

Add

13 of 15

14 of 15

Instruction Set Details

reference https://c9x.me/x86/

  • add
  • sub
  • mov

15 of 15

Modern CPU Architecture Part1

7:35 - 18:57