8086 S01 - Internal Architecture
8086 S01 - Internal Architecture
And Interfacing
BIU mainly contains the 4 Segment registers, the Instruction Pointer, a pre-
fetch queue, and an Address Generation Circuit.
16 0
Extra Segment ES
Code Segment CS
SS
Stack Segment
DS
Data Segment
The BUS Interface Unit (BIU)
Segment Registers
The BUS Interface Unit (BIU)
Special Purpose Registers
Instruction Pointer IP
The BUS Interface Unit (BIU)
Special Purpose Registers
Instruction Pointer IP
ALU
The Execution Unit (EU)
ALU
Registers
The Execution Unit (EU)
Flag Register
The Execution Unit (EU)
General Purpose Registers
The Execution Unit (EU)
General Purpose Registers
16 8/7
0
AH AL
AX
BH BL
BX
CH CL
CX
DH DL
DX
16 0
Stack Pointer SP
Base Pointer BP
Source Index SI
Destination Index DI
The Execution Unit (EU)
General Purpose Registers
● AX - the accumulator register (divided into AH / AL):
○ Arithmetic, logic and data transfer
○ One number must be in AL or AX
○ Multiplication & Division
○ Input & Output
● BP - base pointer:
○ Primarily used to access parameters passed via the stack
○ Offset address relative to SS
The Execution Unit (EU)
General Purpose Registers
● SI - source index register:
○ Can be used for pointer addressing of data
○ Used as source in some string processing instructions
○ Offset address relative to DS