30
Chapter 8 The 8088 and 8086 Microprocessors Their Memory and Input/Output Interfaces

Hardware Ch8

Embed Size (px)

Citation preview

Page 1: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 1/30

Chapter 8

The 8088 and 8086 Microprocessors

Their Memory and Input/Output Interfaces

Page 2: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 2/30

8086 and 8088 Microprocessors

Page 3: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 3/30

8086 is a 16 bit microprocessor with a 16 bit data

bus (1978)

8088 is a 16 bit microprocessor with an 8 bit databus (1979)

Both contain about 29,000 transistors, packaged in

40 pin dual-in-line package (DIP)

Address lines A0-A7 and Data lines D0-D7 are

multiplexed in 8088 as AD0-AD7.

 ± By multiplexed we mean that the same physical pin

carries an address bit at one time and the data bitanother time

Address lines A0-A15 and Data lines D0-D15 are

multiplexed in 8086 as AD0-AD15.

Page 4: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 4/30

Page 5: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 5/30

Minimum-mode and Maximum-mode Systems

Page 6: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 6/30

8088 Minimum-Mode Signals

Page 7: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 7/30

8088 Maximum-Mode Signals

Page 8: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 8/30

Minimum Mode Interface ± Status Signals

Status signals: A16-A19 multiplexed with status signals

S3-S6 respectivelyS3 and S4: a 2 bit binary code that identifies which of the

internal segment registers was used to generate thephysical address that was output on the address busduring the current bus cycle.

S5 is the logic level of the internal interrupt enable flagS6 is always logic 0.

Page 9: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 9/30

Page 10: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 10/30

Page 11: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 11/30

Page 12: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 12/30

Page 13: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 13/30

Page 14: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 14/30

Page 15: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 15/30

Hardware Organization of the memory

 Address Space

80888086

Page 16: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 16/30

8088 byte transfer  8088 word transfer 

Page 17: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 17/30

Even-address byte transfer  Odd address byte transfer 

Even-address word transfer 

8086

Page 18: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 18/30

Odd-address word transfer 

8086

Page 19: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 19/30

Page 20: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 20/30

Bus Cycle and Time States

T1 - start of bus cycle. Actions include setting control signals to give the

required values for ALE, DTR, IO/M putting a valid address onto theaddress bus.

T2 - the RD or WR control signals are issued, DEN is asserted and inthe case of a write, data is put onto the data bus. The DEN turnson the data bus buffers to connect the CPU to the external databus. The READY input to the CPU is sampled at the end of T2 andif READY is low, a wait state TW (one or more) is inserted beforeT3 begins.

T3 - this clock period is provided to allow memory to access the data. If 

the bus cycle is a read cycle, the data bus is sampled at the end of T3.

T4 - all bus signals are deactivated in preparation for the next

clock cycle. The 8088 also finishes sampling the data (in a read

cycle) in this period. For the write cycle, the trailing edge of the

WR signal transfers data to the memory or I/O, which activates

and write when WR returns to logic 1 level.

Page 21: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 21/30

Memory Read Cycle of the 8088

Page 22: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 22/30

Page 23: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 23/30

Write Bus Cycle 8088 M-M

Page 24: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 24/30

Memory Interface Circuits

Page 25: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 25/30

 Address Bus Latches and Buffers

Page 26: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 26/30

Address Latch Circuit

Page 27: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 27/30

Data Bus Transceivers

Page 28: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 28/30

Data bus Transceiver Circuit

Page 29: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 29/30

BankWrite and Bank Read Control Logic

Bank Write Control Logic Bank Read Control Logic

Page 30: Hardware Ch8

8/8/2019 Hardware Ch8

http://slidepdf.com/reader/full/hardware-ch8 30/30

Address Decoders