Basheer V P Asst. Professor Department of Electronics and Communication Engineering A Ameen Engineering College
AAEC
AAEC
AAEC
Execution Unit
Introduction
AAEC
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
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
AAEC
AAEC
AAEC
11
AAEC
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
14
AAEC
15
AAEC
16
AAEC
17
AAEC
18
AAEC
19
Introduction contd..
AAEC
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
21
Segment Registers
AAEC
22
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
25
AAEC
26
AAEC
27
AAEC
28