12-Introduction To 8086 Microprocessor-09-09-2024
12-Introduction To 8086 Microprocessor-09-09-2024
SALIENT FEATURES
2
12/7/2024
BLOCK DIAGRAM OF 8086
3
12/7/2024
SOFTWARE MODEL OF THE 8086
MICROPROCESSORS
4
12/7/2024
8086 has two blocks BIU and EU.
The BIU handles all transactions of data and addresses on the buses
for EU.
The BIU performs all bus operations such as instruction fetching,
reading and writing operands for memory and calculating the
addresses of the memory operands.
The instruction bytes are transferred to the instruction queue.
EU executes instructions from the instruction system byte queue.
Both units operate asynchronously to give the 8086 an overlapping
instruction fetch and execution mechanism which is called as
Pipelining. This results in efficient use of the system bus and system
performance.
INTERNAL ARCHITECTURE
5
12/7/2024
General Purpose Index
AH AL
BP
AX
SP
BH BL
BX
SI
CH CL
DI
CX
DH DL
DX Segment
CS
Flags DS
IP ES
8086 REGISTERS 6
12/7/2024
GENERAL PURPOSE REGISTERS
AX - the Accumulator
BX - the Base Register
CX - the Count Register
DX - the Data Register
• 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
– Base Register
– Also serves as an address register
8
12/7/2024
GENERAL PURPOSE REGISTERS
• CX
– Count register
– Used as a loop counter
• DX
– Data register
– Used in multiplication and division
– Also used in I/O operations
9
12/7/2024
POINTER AND INDEX REGISTERS
Overflow Carry
Direction Parity
EU registers AX AH AL Accumulator
BX BH BL Base Register
CX CH CL Count Register
DX DH DL Data Register
SP Stack Pointer
BP Base Pointer
SI Source Index Register
DI Destination Index Register
FLAGS
12
12/7/2024
HEALTH TIPS
13
12/7/2024
Dr A. P. J Abdul Kalam
NEETIBANI-1
14
12/7/2024
HEALTH TIPS - 2
15
12/7/2024
THE STACK
18
12/7/2024
INTEL 8086 - Pin Details
Power Supply
5V 10%
Ground
Reset
Registers, seg
regs, flags
CS: FFFFH, IP:
0000H
If high for
minimum 4
Clock clks
19
Duty cycle: 33% 12/7/2024
DUTY CYCLE
20
12/7/2024
INTEL 8086 - Pin Details
Address/Data Bus:
Contains address Address Latch Enable:
bits A15-A0 when ALE
is 1 & data bits D15 – When high,
D0 when ALE is 0. multiplexed
address/data bus
contains address
information.
21
12/7/2024
INTEL 8086 - Pin Details
INTERRUPT
Non - maskable
interrupt
Interrupt
acknowledge
Interrupt request 22
12/7/2024
INTEL 8086 - Pin Details
Direct
Memory
Access
Hold
Hold
acknowledge
23
12/7/2024
INTEL 8086 - Pin Details
Address/Status Bus
Address bits A19 –
A16 & Status bits S6
– S3
24
12/7/2024
INTEL 8086 - Pin Details
1,1: No selection
25
12/7/2024
INTEL 8086 - Pin Details
Min/Max mode
Minimum Mode: +5V
Maximum Mode: 0V
Maximum Mode
Pins
26
12/7/2024
Minimum Mode- Pin Details
Read Signal
Write Signal
Memory or
I/0
Data
Transmit/Recei
ve
27
Data Bus
12/7/2024
Enable
Maximum Mode - Pin Details
S2 S1 S0
000: INTA
001: read I/O port
010: write I/O port
011: halt
100: code access Status Signal
101: read memory
110: write memory Inputs to 8288 to
111: none - generate eliminated
passive signals due to max
mode.
28
12/7/2024
Maximum Mode - Pin Details
Lock Output
Used to lock peripherals
off the system
DMA
Activated by using the Request/Grant
LOCK: prefix on any
instruction
Lock Output
29
12/7/2024
Maximum Mode - Pin Details
QS1 QS0
00: Queue is idle
01: First byte of opcode
10: Queue is empty
11: Subsequent byte of
opcode
Queue Status
Used by numeric
coprocessor (8087)
30
12/7/2024
TEST PIN OF 8086
Used in conjunction with the WAIT instruction in
multiprocessing environments.
If
it is low, execution of the signal will continue; if
not, it will stop executing.
31
12/7/2024
WAIT STATE
Tw
1 2 3 4
Clock
READY
The
READY input is sampled at the end of T2,
and again, if necessary in the middle of Tw. If
READY is ‘0’ then a Tw is inserted. 32
12/7/2024
MINIMUM MODE 8086 SYSTEM
33
12/7/2024
MINIMUM MODE 8086 SYSTEM
34
12/7/2024
‘READ’ CYCLE TIMING DIAGRAM
FOR MINIMUM MODE
35
12/7/2024
‘WRITE’ CYCLE TIMING
DIAGRAM FOR MINIMUM MODE
36
12/7/2024
MAXIMUM MODE 8086 SYSTEM
37
12/7/2024
MAXIMUM MODE 8086 SYSTEM
38
12/7/2024
MAXIMUM MODE 8086 SYSTEM
Here,
either a numeric coprocessor of the type 8087 or
another processor is interfaced with 8086.
The
control signals for Maximum mode of operation are
generated by the Bus Controller chip 8788.
40
12/7/2024
MEMORY WRITE TIMING IN
MAXIMUM MODE
41
12/7/2024
8086 CONTROL SIGNALS
1. ALE
2. BHE
3. M/IO
4. DT/R
5. RD
6. WR
7. DEN
42
12/7/2024
NEETIBANI
43
12/7/2024
44
12/7/2024
EXTRA READING
45
12/7/2024
Coprocessor and Multiprocessor configuration
47
12/7/2024
COPROCESSOR / CLOSELY
COUPLED CONFIGURATION
48
12/7/2024
ADVANTAGES OF MULTIPROCESSOR
CONFIGURATION
1. High system throughput can be achieved by having
more than one CPU.
2. The system can be expanded in modular form.
Each bus master module is an independent unit and normally
resides on a separate PC board. One can be added or
removed without affecting the others in the system.
3. A failure in one module normally does not affect the
breakdown of the entire system and the faulty module
can be easily detected and replaced
4. Each bus master has its own local bus to access
dedicated memory or IO devices. So a greater
degree of parallel processing can be achieved. 49
12/7/2024