/
8086 	[2] Ahad Internal! 8086 	[2] Ahad Internal!

8086 [2] Ahad Internal! - PowerPoint Presentation

liane-varnes
liane-varnes . @liane-varnes
Follow
375 views
Uploaded On 2018-02-16

8086 [2] Ahad Internal! - PPT Presentation

External 8086 vs 8088 16bit Data Bus 20bit Address 8bit Data Bus 20bit Address 8088 8086 Only external bus of 8088 is 8bit Pin configuration 80868088 Busses Address Bus ID: 632124

data address mode bus address data bus mode 8086 input µp memory ad0 high bit active pin output wait maximum minimum interrupt

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "8086 [2] Ahad Internal!" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

8086 [2]

AhadSlide2

Internal! Slide3

External

?

Slide4

8086

vs

8088

16_bit Data Bus

20_bit Address

8_bit Data Bus

20_bit Address

8088

8086

Only external bus of 8088 is

8bitSlide5

Pin configuration:Slide6

8086/8088 Busses

Address Bus

20 address lines so a 2

20 byte address space.

Pins A0-A19 provide the addressFor 8086, A0-A15 are multiplexed with D0-D15 to form AD0-AD15For 8088, A0-A7 are multiplexed with D0-D7 to form AD0-AD7Data Bus

For 8086, 16 bit data bus D0-D15 (multiplexed as AD0-AD15)

For 8088, 8 bit data bus D0-D7 (multiplexed as AD0-AD7

)Slide7

Control pins

Control Bus

For memory access, the following pins are used:

RD’, WR’, M/IO’, DT/R’, DEN’, ALE,

BHE

Other input signals to control 8086 performance:

clk

,reset , ready , hold , test’, intr , nmi

,mn’/mx

- The intr and hold are acknowledged through

intra and holda respectively.Slide8

8086 Pin AssignmentSlide9

8086 Pin Description

Vcc

(pin 40) :

Power supply input

GND

(pin 1 and 20) : Ground

pin is the return of the power supplySlide10

AD0…AD7, A8...A15 , A19/S6, A18/S5, A17/S4, A16/S3

: 20-bit Address Bus

When

ALE=1

[Address Latch Enable]

 AD8-AD15 becomes address bits.

When

ALE=0

 it becomes data bits.Slide11

A19/S6, A18/S5, A17/S4, A16/S3

Address/status bus -

S4 S3 function

. 0 0 extra segment

0 1 stack segment

1 0 code or no segment

1 1 data segment

 These two status bits could be used to address four separate 1MByte mem banks – by decoding them as A21 and A20S5  indicates the condition of the IF flag bitS6  always a logic 0Slide12

MN/

MX

(33, input) : Indicates Operating mode – min mode or max modeSlide13

READY

(input, Active High) : Takes µP to wait state

0

µP enters into wait states n remains idle.

1

 no effect on the operation of the

µPSlide14

CLK

(input) : Provides basic timing for the processor

CLK

must have a duty cycle of 33% (high for 1/3 of the clocking period & low for 2/3)Slide15

DEN’

(output) :

activates external data bus buffers

.

It is

LOW

when processor wants to

receive

data or processor is

giving out dataSlide16

DT/R’

(output) :

Data Transmit/Receive.

1 

data

from

µP to memory

0

 data is from memory to µPSlide17

M/IO’

(output) : selects

mem

or I/O.

It indicates that the mP address bus contains – either a memory address or an I/O port address.

1

µP access I/O Device

0

µP access memorySlide18

RD’

(output) : When

Low

, µP is performing a

read operation

0

 the data bus is receptive to data from the

mem

or I/O devices connected to the system. Slide19

WR

(output) : When

Low

, µP is performing a write operation

It is outputting data to a

mem

or I/O device.

During the time

WR

=0, the data bus contains a valid data for mem or I/O. Slide20

ALE

(output) : Address Latch Enable, Active High

to

latch

address

1

µP is using AD0..AD7, A19/S6, A18/S5, A17/S4, A16/S3 as address bus.

This address can be a mem address or an I/O port number. Slide21

RESET

(input, Active High) : At least 4 clock cycles causes the µP immediately terminate its present activity. Slide22

TEST’

(input , Active Low) :

it is an input pin – that is tested by the WAIT instruction.

0

 the WAIT instr. functions as an

NOP

.

1

 the WAIT instr. waits for

TEST to become a logic 0.Slide23

HOLD

(input , Active High) :

it requests a DMA [Direct Memory Access]

1

 the

mP

stops executing software and places its address, data, and control bus at the high-impedance state.

0 

mP

executes SW normally.Slide24

HLDA

(output , Active High) :

Hold Acknowledge – indicates that the

mP

has entered the HOLD state.

INTR

(input , Active High) :

Interrupt request

It is used

to request a hardware interrupt. 1  when IF = 1,

mP enters an interrupt acknowledge cycle (INTA

becomes active) after the current instruction has completed execution. [

IF - Interrupt Flag -Set by user to disable hardware interrupts temporarily]Slide25

INTA

(output , Active Low) :

Interrupt Acknowledge

NMI

(input , Active High) :

Non-

maskable

interrupt

similar to

INTR

– except that the NMI interrupt does not check to see whether the IF flag is 1.Slide26

The 

AD0-AD15 

lines are a

16-bit multiplexed addressed or data bus. During the 1st

 clock cycle, AD0-AD15 are the low order 16-bit address. The 8086 has a total of 20 address line, the upper 4 lines are multiplexed with the state signal that is

 

A16/S3, A17/S4, A18/S5, A19/S6

.

For

memory and i/o

operations, AD15-AD0 contain the 16 bit data and S3,S4,S5,S6 become the status line.Slide27

BHE

/S7 

is used as 

best high enable during the 1st clock cycle of an instruction execution.

BHE can be used in conjunction with AD0 to select the memorySlide28

RD 

is low when the data is read from memory or I/O location Slide29

TEST 

is an

input

pin and is only used by the wait instruction8086 enters a wait state after execution of the wait instruction until a low is seen on the test pin.Slide30

ALE 

is an 

address latch enable

is an o/p signal provided by the 8086 - can be used to demultiplexed AD0 to AD15 in to A10 toA15 and D0 to D15.Slide31

M/IO 

is an 8086 output signal to distinguish a memory access and i/o access.Slide32

33. MN/MX

The 8086 can operate in two

modes:

minimum mode and

maximum mode For minimum mode, a unique processor system with a single 8086

For maximum mode,

a

multi-processor

system with more than one 8086.Slide33

Minimum-Mode and Maximum-

Mode System

 Slide34

Signals common to both minimum and maximum modeSlide35

Minimum-Mode and Maximum-

Mode System (cont.)

Unique minimum-mode signalsSlide36

Minimum-Mode and Maximum-

Mode System (cont.)

Unique maximum-mode signals