Microprocessors
Microprocessors
ANDHRA PRADESH
Name : G.Subba Rao & B.SanthoshaKumari
Designation : Lecturer
Branch : Electronics & Commn. Engg.
Institute : BPTC, Bapatla
Subject : Microprocessors
Subject Code : CM 405
Year/Semester : IV Semester
Topic : Introduction & Architecture
Sub -Topic : Block Diagram of 8086
Duration : 100 min.
Teaching Aids : PPT
Revised by :K.Srikanth,Lecturer,GPT,Nizamabad
9CM405.3TO4 1
Objectives
9CM405.3TO4 2
Recap
9CM405.3TO4 3
9CM405.3TO4 4
The functional block diagram of 8086 is divided into
9CM405.3TO4 5
• The BIU fetches instructions from memory and transfers
data between the execution unit and outside world.
9CM405.3TO4 6
Bus Interface Unit:
•Instruction Pointer
•The Queue
9CM405.3TO4 7
Segment Registers:
9CM405.3TO4 8
• Each segment has a maximum capacity of 64k
bytes
• Code segment holds the base address of memory
where instructions of a program are stored
• Data segment holds the base address of memory,
where program data, variables and constants are
stored
9CM405.3TO4 9
• Stack segment holds the base address of stack, where
data related to stack operations are stored
9CM405.3TO4 10
• Each segment is assigned a base address that identifies
9CM405.3TO4 11
Instruction queue
9CM405.3TO4 12
The Execution Unit
9CM405.3TO4 13
For doing above tasks, the EU has following
sections,
9CM405.3TO4 14
Control Unit:
This unit directs the internal operations
Decoder:
This unit translates the instructions fetched
from memory into series of actions
ALU:
This unit performs arithmetic and logical
operations
9CM405.3TO4 15
General-purpose Registers
They are
•Accumulator AX—AH,AL
9CM405.3TO4 17
Pointer and Index Registers
9CM405.3TO4 19
Flag Register
9CM405.3TO4 20
Flag Register (contd.)
• Flag is a flip flop which indicate some condition produced
on the execution of an instruction or controls certain
operations of EU
9CM405.3TO4 21
Status flags
• Carry Flag (CF) :
This flag is set if there is a carry out
of the MSB in case of addition or a
borrow in case of subtraction
9CM405.3TO4 22
Status flags (contd.)
• Zero Flag (ZF) :
This flag is set if the result of an
arithmetic or logical operation is zero
9CM405.3TO4 23
Control Flags
9CM405.3TO4 24
Control Flags (contd.)
9CM405.3TO4 25
Summary
•Segment Registers
•Instruction Pointer
•The Instruction Queue
•Execution and Control Unit
•Decoder
•ALU
•General purpose registers
•Pointer and Index registers
•Flag registers
9CM405.3TO4 26
Quiz
The length of Queue in 8086 is
a) 4-bytes
b) 6-bytes
c) 8-bytes
d) 16-bytes
9CM405.3TO4 27
Quiz (Contd.)
A segment register in 8086 holds
a) Offset address
b) Effective address
c) Base address
d) Physical address
9CM405.3TO4 28
Assignment
9CM405.3TO4 29
Frequently asked questions
9CM405.3TO4 30