Beruflich Dokumente
Kultur Dokumente
Topics
Basic Features Pinout Diagram Minimum and Maximum modes Description of the pins
Basic Features
8086 announced in 1978; 8086 is a 16 bit microprocessor with a 16 bit data bus 8088 announced in 1979; 8088 is a 16 bit microprocessor with an 8 bit data bus Both manufactured using High-performance Metal Oxide Semiconductor (HMOS) technology Both contain about 29000 transistors Both are packaged in 40 pin dual-in-line package (DIP)
GND AD14 AD13 AD12 AD11 AD10 AD9 AD8 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 NMI INTR CLK GND
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
8086
40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21
VCC AD15 A16/S3 A17/S4 A18/S5 A19/S6 BHE/S7 MN/MX RD HOLD HLDA WR M/IO DT/R DEN ALE INTA TEST READY RESET
GND A14 A13 A12 A11 A10 A9 A8 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 NMI INTR CLK GND
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
8088
40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21
VCC A15 A16/S3 A17/S4 A18/S5 A19/S6 SS0 MN/MX RD HOLD HLDA WR IO/M DT/R DEN ALE INTA TEST READY RESET
8088
8086
8086
Maximum mode
Pull MN/MX logic 0 Larger systems with more than one processor (designed to be used when a coprocessor (8087) exists in the system)
8086
Vcc
8086
GND
Min Mode
Max Mode
+5V RES
Clock generator
AEN2 AEN1 F/C
Control Bus
Wait-State Generator
ALE
STB OE
8086 CPU
8282 Latch
BHE
Wait-State Generator
ALE
8086 CPU
STB OE
RES
READY
AD0-AD15 A16-A19
8282 Latch
T OE
8286 Transceiver
DATA
GND AD14 AD13 AD12 AD11 AD10 AD9 AD8 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 NMI INTR CLK GND
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
8086
40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21
VCC AD15 A16/S3 A17/S4 A18/S5 A19/S6 BHE/S7 MN/MX RD HOLD HLDA WR M/IO DT/R DEN ALE INTA TEST READY RESET
Vcc
GND AD14 AD13 AD12 AD11 AD10 AD9 AD8 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 NMI INTR CLK GND
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
8086
40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21
VCC AD15 A16/S3 A17/S4 A18/S5 A19/S6 BHE/S7 MN/MX RD RQ/GT0 RQ/GT1 LOCK S2 S1 S0 QS0 QS1 TEST READY RESET
GND
Min Mode
Max Mode
Function
Extra segment access
Stack segment access Code segment access
0
0 1
0
1 0
0
0 0
0
0 1
0
1 0
0
1 1 1 1
1
0 0 1 1
1
0 1 0 1
Halt
Code access Read memory Write memory Passive State
QS1 0 0 1 1
QS1 0 1 0 1
Characteristics No operation First byte of opcode from queue Empty the queue Subsequent byte from queue
Higher Address Bank (512K x 8) ODD A1-A19 Address Bus Data Bus (D0 - D15)
BHE
A0
D8-D15
x x+2 x+4
A0 = 0
D0-D15
x+1 x+3
x x+2
A0 = 1
x+1 x+3
x x+2
A1-A19
D8-D15
BHE =0 D0-D7
A0 = 0
D0-D15
ALE
S2-S0
M/IO RD
INTR (input)
Hardware Interrupt Request Pin
INTR is used to request a hardware interrupt. It is recognized by the processor only when IF = 1, otherwise it is ignored (STI instruction sets this flag bit). The request on this line can be disabled (or masked) by making IF = 0 (use instruction CLI) If INTR becomes high and IF = 1, the 8086 enters an interrupt acknowledge cycle (INTA becomes active) after the current instruction has completed execution.
For Discussion
If I/O peripheral wants to interrupt the processor, the interrupt controller will send high pulse to the 8086 INTR pin.
What about if a simple system to be built and hardware interrupts are not needed; What to do with INTR and INTA?
NMI
8086 CPU
INTR
Interrupt Logic
int
into
Divide Error
Single Step
Software
Traps
TEST (input)
The TEST pin is an input that is tested by the WAIT instruction. If TEST is at logic 0, the WAIT instruction functions as a NOP. If TEST is at logic 1, then the WAIT instruction causes the 8086 to idle, until TEST input becomes a logic 0. This pin is normally driven by the 8087 coprocessor (numeric coprocessor) . This prevents the CPU from accessing a memory result before the NDP has finished its calculation
Ready (input)
This input is used to insert wait states into processor Bus Cycle. If the READY pin is placed at a logic 0 level, the microprocessor enters into wait states and remains idle. If the READY pin is placed at a logic 1 level, it has no effect on the operation of the processor. It is sampled at the end of the T2 clock pulse Usually driven by a slow memory device
8284
Reset
RES C
HOLD (input)
The HOLD input is used by DMA controller to request a Direct Memory Access (DMA) operation. If the HOLD signal is at logic 1, the microprocessor places its address, data and control bus at the high impedance state. If the HOLD pin is at logic 0, the microprocessor works normally.
DMA Operation