Anda di halaman 1dari 28

Architecture of 8086

Basheer V P Asst. Professor Department of Electronics and Communication Engineering A Ameen Engineering College

Internal Architectureof 8086

AAEC

Microprocessor & Microcontroller

Internal Architecture -Introduction

AAEC

Microprocessor & Microcontroller

Internal Architecture -Introduction

AAEC

Microprocessor & Microcontroller

Execution Unit
Introduction

AAEC

Microprocessor & Microcontroller

Control System
Control system consists of instruction decoder and control unit. The function of instruction decoder is to decode the fetched instructions. Function of control unit is to generate the control signals.

AAEC

Microprocessor & Microcontroller

ALU
ALU is the heart of the processor. 8086 has a 16- bit AlU. AlU is capable to operate 16 bit operands. All the arithmatic and logical operations are performed by ALU.

AAEC

Microprocessor & Microcontroller

AAEC

Microprocessor & Microcontroller

AAEC

Microprocessor & Microcontroller

General Purpose Registers


AX
Accumulator Register Preferred register to use in arithmetic, logic and data transfer instructions because it generates the shortest Machine Language Code Must be used in multiplication and division operations Must also be used in I/O operations
BX
-BX is known as Base Register. -Also serves as address register.
AAEC Microprocessor & Microcontroller 10

AAEC

Microprocessor & Microcontroller

11

AAEC

Microprocessor & Microcontroller

12

Pointer registers
Two pointer registers Stack Pointer (SP) and Base Pointer (BP) are used to access data in the stack segment. SP and BP are 16 bit registers used to hold the offset address of stack segment. Any one of this register provides an offset value which associated with the SS register, refers to the current word being processed in the stack.
AAEC Microprocessor & Microcontroller 13

Index registers
Source Index (SI) is a 16 bit register used to hold the offset address of data segment. Destination Index (DI) is also a 16 bit register used to hold the offset address of extra data segment. Index registers are used as default memory pointers in string operations.

AAEC

Microprocessor & Microcontroller

14

AAEC

Microprocessor & Microcontroller

15

AAEC

Microprocessor & Microcontroller

16

AAEC

Microprocessor & Microcontroller

17

AAEC

Microprocessor & Microcontroller

18

Bus Interface Unit (BIU)


Introduction.

AAEC

Microprocessor & Microcontroller

19

Introduction contd..

AAEC

Microprocessor & Microcontroller

20

Instruction Queue
Instruction Queue is FIFO group of registers. Size is 6 bytes. Dedicated element for pipelining. Used to store pre-fetched the instructions while EU executing some other instruction. 6 bytes of instruction code can be pre-fetched i. this queue.

AAEC

Microprocessor & Microcontroller

21

Segment Registers

AAEC

Microprocessor & Microcontroller

22

Code Segment Register


CS is a 16-bit register used to store the base address of the code segment. This segment address , plus an offset value in Instruction Pointer (IP) register (CS:IP),indicates the address of an instruction to be fetched.

Data Segment Register


DS is a 16-bit register used to store the base address of the data segment. This segment address , plus an offset value in SI register (DS:SI),indicates a specific byte location in the data segment.
AAEC Microprocessor & Microcontroller 23

Stack Segment Register


SS is a 16-bit register used to store the base address of the stack segment. This segment address , plus an offset value in Stack Pointer (SP) register (SS:SP),indicates the current word in the stack being addressed.

Extra data Segment Register


ES is a 16-bit register used to store the base address of the extra data segment. This segment address , plus an offset value in DI register (ES:DI),indicates a specific byte location in the extra segment.
AAEC Microprocessor & Microcontroller 24

Instruction Pointer (IP)

IP is used to hold the offset address of code segment. The Instruction Pointer identifies the location of the next word of the instruction code to be fetched.

AAEC

Microprocessor & Microcontroller

25

Address Generation Unit


Function is to generate 20-bit physical address. Physical address is obtained by shifting the segment address 4 bits to the left (inserting 4 zeros at the right) and adding the offset address.

AAEC

Microprocessor & Microcontroller

26

Pipelined architecture of the 8086 microprocessors

AAEC

Microprocessor & Microcontroller

27

AAEC

Microprocessor & Microcontroller

28

Anda mungkin juga menyukai