Internal Architecture of 8086
Internal Architecture of 8086
1.Code segment (CS) register= The CS register holds the upper 16-bits of the
starting address of the segment from which the BIU is currently fetching the
instruction code byte.
2.stack segment (SS) register=The SS register is used for the upper 16-bits of
the starting address for the program stack (all stack related instructions will
operate on stack)
3.extra segment (ES) register= ES register and DS register are used to hold the
upper 16-bits of the starting address of the two memory segments Which are
used for data.
Execution Unit [EU]:
• The execution unit of Internal Architecture of 8086 tells the BIU from where
to fetch instructions or data, decodes instructions and executes instructions.
It contains
• Control Circuitry
• Instruction Decoder
• Arithmetic Logic Unit (ALU)
• Flag Register
• General Purpose Registers
• Pointers and Index Registers
Execution Unit [EU]:
• The control circuitry in the EU directs the internal operations.
• A decoder in the EU translates the instructions fetched from memory into a series of actions wlifeh the
EU performs.
• ALU is 16-bit. It can add, subtract, AND, OR, XOR, increment, decrements, complement and shift binary
numbers.
• AX register: (Combination of AL and AH Registers)
It holds operands and results during multiplication and division operations. Also an accumulator during
String operations.