MP Lecture2
MP Lecture2
1
Prof. Kranti Bade
Detail Syllabus Content Continue……
Module Detailed Content Hours
1 The Intel Microprocessors 8086 Architecture
1.1 8086 CPU Architecture, 8
1.2 Programmer’s Model
1.3 Functional Pin Diagram
1.4 Memory Segmentation
1.5 Banking in 8086
1.6 Demultiplexing of Address/Data bus
1.7 Functioning of 8086 in Minimum mode and Maximum
mode
1.8 Timing diagrams for Read and Write operations in
minimum and maximum mode
1.9 Interrupt structure and its servicing
2
Prof. Kranti Bade
History of Microprocessor
3
Prof. Kranti Bade
First 16-Bit microprocessor
8086 Microprocessor
4
Prof. Kranti Bade
Important Features of 8086
1. Buses
Address Bus : 8086 has a 20 bit address bus , hence it can access 2 20 Byte
memory i.e. 1 MB. The
address range for this memory is 00000H ………….FFFFFH.
Data bus: 8086 has a 16-bit data bus. i.e . It can access 16-bit data in one operation. Its ALU and
internal data registers are also 16-Bit. Hence 8086 is called as a 16- Bit microprocessor
Control Bus: The control bus carries the signals responsible for performing various operations as
RD, WR etc
5
Prof. Kranti Bade
5. 8086 supports Memory segmentation.
Segmentation means dividing the memory into logical components. Here the memory is divided into 4
segments : Code, Stack, Data and Extra segment.
7. 8086 has a 16-Bit IO address: It can access 2^16 IO ports(2^16 = 65536 i.e. 64k IO ports).
6
Prof. Kranti Bade
7
Prof. Kranti Bade
8086 Architecture
As 8086 does 2- Stage pipelining , it’s architecture is divided into two units.
1. Bus interface Unit (BIU)
2. Execution Unit(EU)
8
Prof. Kranti Bade
11111H
DS
00111H
CS
00011H
00000H
9
Prof. Kranti Bade
Bus interface unit
The main components of BIU are as follows.
a) Segment registers
1. CS register: it hold base (segment) address for the code segment.
All programs are stored in the code segment.
It is multiplied by 10H (16d) , to give 20-bit physical address of the code segment.
e.g. if CS = 4321H the CS * 10H = 43210H starting address of code segment.
CS register cannot be modified by executing any instruction except branch instructions.
10
Prof. Kranti Bade
b) Instruction register (IP register)
It is 16-bit register.
It holds offset of the next instruction in the code segment.
11
Prof. Kranti Bade
d)
The BIU contains circuit for physical address calculations
The segment address is shifted by 4 positions , this multiplies the number by 16(i.e. 10H) then offset
address is added
12
Prof. Kranti Bade
Calculate physical address(effective address)
Physical address = ?
10000H
13
Prof. Kranti Bade
Execution Unit
14
Prof. Kranti Bade
General Purpose Registers
8086 has 16- bit registers AX,BX CX and DX
AX- 16 Bit accumulator, with lower 8-bit AX designated as AL and higher 8-bits as AH. AL can be
used as an 8-Bit accumulator for 8 bit operations.
BX – is used as an offset storage for forming physical addresses in case of certain addressing
modes.
CX – is used as default counter register in case of string or looping instructions.
DX – may be used as an implicit operand or destination in case of a few instructions.
15
Prof. Kranti Bade
Thank You!
([email protected])
16
Prof. Kranti Bade