8086 Pin
8086 Pin
1
Block diagram of 8086
2
Software Model of the 8086 Microprocessors
3
8086 Registers
AX
General Purpose
AH AL
Index
BP
SP
BH BL
BX
SI
CH CL
DI
CX
DH DL
DX Segment
CS
Flags DS
IP ES
4
General Purpose Registers
AX - the Accumulator
BX - the Base Register
CX - the Count Register
DX - the Data Register
5
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
– Base Register
– Also serves as an address register
6
General Purpose Registers
• CX
– Count register
– Used as a loop counter
– Used in shift and rotate operations
• DX
– Data register
– Used in multiplication and division
– Also used in I/O operations
7
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
10
The Stack
• The stack is used for temporary storage of information
such as data or addresses.
11
The Stack
12
INTEL 8086 - Pin Diagram
13
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
Duty cycle: 33%
14
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.
15
INTEL 8086 - Pin Details
INTERRUPT
Non - maskable
interrupt
Interrupt
acknowledge
Interrupt request
16
INTEL 8086 - Pin Details
Direct
Memory
Access
Hold
Hold
acknowledge
17
INTEL 8086 - Pin Details
Address/Status Bus
Address bits A19 –
A16 & Status bits S6
– S3
18
INTEL 8086 - Pin Details
1,1: No selection
19
INTEL 8086 - Pin Details
Min/Max mode
Minimum Mode: +5V
Maximum Mode: 0V
Maximum Mode
Pins
20
Minimum Mode- Pin Details
Read Signal
Write Signal
Memory or
I/0
Data
Transmit/Recei
ve
Data Bus
Enable 21
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 -passive generate eliminated
signals due to max
mode.
22
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
23
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)
24
Minimum Mode 8086 System
25
Minimum Mode 8086 System
A transceiver is a device
comprising both a
transmitter and a receiver
that are combined and
share common circuitry or
a single housing
26
‘Read’ Cycle timing Diagram for
Minimum Mode
27
‘Write’ Cycle timing Diagram for
Minimum Mode
28
29
Maximum Mode 8086 System
30
Maximum Mode 8086 System
31
Maximum Mode 8086 System
Here, either a numeric coprocessor of the type 8087 or another
processor is interfaced with 8086.
The three status outputs S0*, S1*, S2* from the processor are
input to 8788.
32
Memory Read timing in
Maximum Mode
33
Memory Write timing in
Maximum Mode
34
8086 Control1. Signals
ALE
2. BHE
3. M/IO
4. DT/R
5. RD
6. WR
7. DEN
35
TEST pin of 8086
Used in conjunction with the WAIT instruction in
multiprocessing environments.
36
WAIT State
Tw
1 2 3 4
Clock
READY
38
Minimum Mode System Memory Circuitry
39
Maximum Mode System Memory Circuitry
40