Introduction to the processor and its pin configuration

Slides:



Advertisements
Similar presentations
Gursharan Singh Tatla PIN DIAGRAM OF 8086 Gursharan Singh Tatla Gursharan Singh Tatla
Advertisements

Chapter 2 (cont.) An Introduction to the 80x86 Microprocessor Family Objectives: The different addressing modes and instruction types available The usefulness.
8086 [2] Ahad. Internal! External? 8086 vs _bit Data Bus 20_bit Address 8_bit Data Bus 20_bit Address Only external bus of 8088 is.
Parul Polytechnic Institute
ECE 2211 Microprocessor and Interfacing Chapter 8 The 8088/8086 Microprocessors and their memory and I/O interfaces Br. Athaur Rahman Bin Najeeb Room.
MICROPROCESSORS TWO TYPES OF MODELS ARE USED :  PROGRAMMER’S MODEL :- THIS MODEL SHOWS FEATURES, SUCH AS INTERNAL REGISTERS, ADDRESS,DATA & CONTROL BUSES.
8086.  The 8086 is Intel’s first 16-bit microprocessor  The 8086 can run at different clock speeds  Standard 8086 – 5 MHz  –10 MHz 
I/O Unit.
4-1 ECE 424 Design of Microprocessor-Based Systems Haibo Wang ECE Department Southern Illinois University Carbondale, IL Hardware Detail of Intel.
1 TK2633TK Microprocessor Architecture DR MASRI AYOB.
Introduction An interrupt is an event which informs the CPU that its service (action) is needed. Sources of interrupts: internal fault (e.g.. divide by.
Chapter 10 Hardware Details on the 8088 Objectives: The general specification on the 8088 microprocessors The processor’s control signal names and specifications.
Design of Microprocessor-Based Systems Hardware Detail of Intel 8088 Dr. Esam Al_Qaralleh CE Department Princess Sumaya University for Technology.
MICROPROCESSOR BASED SYSTEM DESIGN
GURSHARAN SINGH TATLA PIN DIAGRAM OF 8085 GURSHARAN SINGH TATLA
Microcomputer & Interfacing Lecture 2
Khaled A. Al-Utaibi  8086 Pinout & Pin Functions  Minimum & Maximum Mode Operations  Microcomputer System Design  Minimum Mode.
MODES OF Details of Pins Pin 1 –Connected Ground Pins 2-16 –acts as both input/output. Outputs address at the first part of the cycle and outputs.
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
به نام یکتای هستی بخش درس ریزپردازنده یک گروه دکتر ثنایی جلسه اول.
MICROPROCESSOR INPUT/OUTPUT
8086/8088 Hardware Specifications Power supply:  +5V with tolerance of ±10%;  360mA. Input characteristics:  Logic 0 – 0.8V maximum, ±10μA maximum;
Minimum System Requirements Clock Generator Memory Interfacing.
MODES OF Details of Pins Pin 1GND –Connected Ground Pins 2-16 AD14-AD0–acts as both input/output. Outputs address at the first part of the cycle.
80386DX. Features of 80386DX It supports 8/16/32 bit data operands It has 32-bit internal registers It supports 32-bit data bus and 32-bit non-multiplexed.
80386DX functional Block Diagram PIN Description Register set Flags Physical address space Data types.
EFLAG Register of The The only new flag bit is the AC alignment check, used to indicate that the microprocessor has accessed a word at an odd.
A Design Example A Programmable Calculator. Programmable Calculator Working in Exact Mode Receiving Program from RS232 Port Saving Programs using RS232.
Block diagram of 8086.
8086/8088 Hardware Specifications. Objectives Describe the functions of all 8086/8088 pins Understand DC characteristics and fan out Using the clock generator.
8086 and families Features of Bit Microprocessor : is a 16bit processor. It’s ALU, internal registers works with 16bit binary word.
MACHINE CYCLE AND T-STATE
Multiplex of Data and Address Lines in 8088 Address lines A0-A7 and Data lines D0-D7 are multiplexed in These lines are labelled as AD0-AD7. –By.
INTERRUPTS. Topics to be discussed  8088/86 Hardware Interrupts pins 8088/86 Hardware Interrupts pins   Pin description Pin description.
Unit Microprocessor.
EEE /INSTR/CS F241 ES C263 Microprocessor Programming and Interfacing
COURSE OUTCOMES OF Microprocessor and programming
BLOCK DIAGRAM OF INTEL 8085.
8085 INTRODUCTION The features of INTEL 8085 are :
Everybody.
Microprocessor Systems Design I
CPU Sequencing 6/30/2018.
Interrupts In 8085 and 8086.
PIN description of 8086 in Minimum Mode
COURSE OUTCOMES OF Microprocessor and programming
The 8085 Microprocessor Architecture
8086 MICROPROCESSOR ARCHITECTURE & SEGMENTATION
EE3541 Introduction to Microprocessors
Dr. Michael Nasief Lecture 2
Basic Microprocessor Architecture
8086/8088 Hardware Specifications
8085 Microprocessor Architecture
Mikroişlemci Sistemleri
Interrupt.
..
8086 and families.
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
8086 Features It is a 16 bit μp. It is manufactured with H-MOS technology has a 20 bit address bus can access up to 220 memory locations ( 1 MB)
Interrupts Interrupt is a process where an external device can get the attention of the microprocessor. The process starts from the I/O device The process.
Architecture & Support Components
8085 Microprocessor Architecture
X1 & X2 These are also called Crystal Input Pins.
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
The 8085 Microprocessor Architecture
第四章 80386的存贮器和输入/输出接口 作业:P335 5,7,13,17,21,25,36,37,41,44,45,46,48,52,65 21:46.
CNET 315 Microprocessor & Assembly Language
8085 Microprocessor Architecture
CPU Sequencing 7/20/2019.
8086 microprocessior PIN OUT DIAGRAM OF  Power supply and frequency signals  It uses 5V DC supply at V CC pin 40, and uses ground at V SS pin.
Presentation transcript:

Introduction to the processor and its pin configuration 8086/8088 Microprocessor Introduction to the processor and its pin configuration

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)

BHE has no meaning on the 8088 and has been eliminated 8086/8088 Pinout Diagrams GND AD14 AD13 AD12 AD11 AD10 AD9 AD8 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 NMI INTR CLK VCC AD15 A16/S3 A17/S4 A18/S5 A19/S6 HOLD HLDA ALE READY RESET BHE/S7 MN/MX RD WR M/IO DT/R DEN INTA TEST 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 31 30 29 28 27 26 25 24 23 22 21 40 39 38 37 36 35 34 33 32 8086 GND 1 40 VCC A14 2 39 A15 A13 3 38 A16/S3 A12 4 37 A17/S4 A11 5 36 A18/S5 A10 6 35 A19/S6 A9 7 34 SS0 A8 8 8088 33 MN/MX AD7 9 32 RD AD6 10 31 HOLD AD5 11 30 HLDA AD4 12 29 WR AD3 13 28 IO/M AD2 14 27 DT/R AD1 15 26 DEN AD0 16 25 ALE NMI 17 24 INTA INTR 18 23 TEST CLK 19 22 READY GND 20 21 RESET BHE has no meaning on the 8088 and has been eliminated

Multiplex of Data and Address Lines in 8088 Address lines A0-A7 and Data lines D0-D7 are multiplexed in 8088. These lines are labelled as AD0-AD7. By multiplexed we mean that the same pysical pin carries an address bit at one time and the data bit another time GND A14 A13 A12 A11 A10 A9 A8 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 NMI INTR CLK VCC A15 A16/S3 A17/S4 A18/S5 A19/S6 HOLD HLDA ALE READY RESET SS0 MN/MX RD WR IO/M DT/R DEN INTA TEST 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 31 30 29 28 27 26 25 24 23 22 21 40 39 38 37 36 35 34 33 32 8088

Multiplex of Data and Address Lines in 8086 Address lines A0-A15 and Data lines D0-D15 are multiplexed in 8086. These lines are labelled as AD0-AD15. GND AD14 AD13 AD12 AD11 AD10 AD9 AD8 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 NMI INTR CLK VCC AD15 A16/S3 A17/S4 A18/S5 A19/S6 HOLD HLDA ALE READY RESET BHE/S7 MN/MX RD WR M/IO DT/R DEN INTA TEST 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 31 30 29 28 27 26 25 24 23 22 21 40 39 38 37 36 35 34 33 32 8086

Minimum-mode and Maximum-mode Systems 8088 and 8086 microprocessors can be configured to work in either of the two modes: the minimum mode and the maximum mode Minimum mode: Pull MN/MX to logic 1 Typically smaller systems and contains a single microprocessor Cheaper since all control signals for memory and I/O are generated by the microprocessor. 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) GND AD14 AD13 AD12 AD11 AD10 AD9 AD8 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 NMI INTR CLK VCC AD15 A16/S3 A17/S4 A18/S5 A19/S6 HOLD HLDA ALE READY RESET BHE/S7 MN/MX RD WR M/IO DT/R DEN INTA TEST 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 31 30 29 28 27 26 25 24 23 22 21 40 39 38 37 36 35 34 33 32 8086 Lost Signals in Max Mode

Minimum-mode and Maximum-mode Signals GND AD14 AD13 AD12 AD11 AD10 AD9 AD8 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 NMI INTR CLK VCC AD15 A16/S3 A17/S4 A18/S5 A19/S6 HOLD HLDA ALE READY RESET BHE/S7 MN/MX RD WR M/IO DT/R DEN INTA TEST 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 31 30 29 28 27 26 25 24 23 22 21 40 39 38 37 36 35 34 33 32 8086 GND 1 40 VCC AD14 2 39 AD15 AD13 3 38 A16/S3 AD12 4 37 A17/S4 AD11 5 36 A18/S5 AD10 6 35 A19/S6 AD9 7 34 BHE/S7 Vcc GND AD8 8 8086 33 MN/MX AD7 9 32 RD AD6 10 31 RQ/GT0 AD5 11 30 RQ/GT1 AD4 12 29 LOCK AD3 13 28 S2 AD2 14 27 S1 AD1 15 26 S0 AD0 16 25 QS0 NMI 17 24 QS1 INTR 18 23 TEST CLK 19 22 READY GND 20 21 RESET Min Mode Max Mode

8086 System Minimum mode

8086 System Maximum Mode

Description of the Pins GND AD14 AD13 AD12 AD11 AD10 AD9 AD8 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 NMI INTR CLK VCC AD15 A16/S3 A17/S4 A18/S5 A19/S6 HOLD HLDA ALE READY RESET BHE/S7 MN/MX RD WR M/IO DT/R DEN INTA TEST 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 31 30 29 28 27 26 25 24 23 22 21 40 39 38 37 36 35 34 33 32 8086 GND 1 40 VCC AD14 2 39 AD15 AD13 3 38 A16/S3 AD12 4 37 A17/S4 AD11 5 36 A18/S5 AD10 6 35 A19/S6 AD9 7 34 BHE/S7 Vcc GND AD8 8 8086 33 MN/MX AD7 9 32 RD AD6 10 31 RQ/GT0 AD5 11 30 RQ/GT1 AD4 12 29 LOCK AD3 13 28 S2 AD2 14 27 S1 AD1 15 26 S0 AD0 16 25 QS0 NMI 17 24 QS1 INTR 18 23 TEST CLK 19 22 READY GND 20 21 RESET Min Mode Max Mode

RESET Operation results CPU component Contents Flags Cleared Instruction Pointer 0000H CS FFFFH DS, SS and ES Queue Empty

AD0 - AD15: Address Data Bus

A17/S4, A16/S3 Address/Status Function Extra segment access 1 Stack segment access Code segment access Data segment access

A19/S6, A18/S5 Address/Status A18/S5: The status of the interrupt enable flag bit is updated at the beginning of each cycle. The status of the flag is indicated through this pin A19/S6: When Low, it indicates that 8086 is in control of the bus. During a "Hold acknowledge" clock period, the 8086 tri-states the S6 pin and thus allows another bus master to take control of the status bus.

S0, S1 and S2 Signals S2 S1 S0 Characteristics Interrupt acknowledge 1 Interrupt acknowledge 1 Read I/O port 1 Write I/O port 1 Halt 1 Code access 1 Read memory 1 Write memory 1 Passive State

QS1 and QS2 Signals QS1 Characteristics No operation 1 No operation 1 First byte of opcode from queue 1 Empty the queue 1 Subsequent byte from queue

Read Write Control Signals IO/M DT/R SSO CHARACTERISTICS Code Access 1 Read Memory Write Memory Passive Interrupt Acknowledge Read I/O port Write I/O port Halt

8086 Memory Addressing 8 - bit data from Lower (Even) address Bank. Data can be accessed from the memory in four different ways: 8 - bit data from Lower (Even) address Bank. 8 - bit data from Higher (Odd) address Bank. 16 - bit data starting from Even Address. 16 - bit data starting from Odd Address.

Treating Even and Odd Addresses

8-bit data from Even address Bank MOV SI,4000H MOV AL,[SI+2]

8-bit Data from Odd Address Bank MOV SI,4000H MOV AL,[SI+3]

16-bit Data Access starting from Even Address MOV SI,4000H MOV AX,[SI+2]

16-bit Data Access starting from Odd Address MOV SI,4000H MOV AX,[SI+5]

Read Timing Diagram

Write Machine Cycle

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 (input) Non-Maskable Interrupt line The Non Maskable Interrupt input is similar to INTR except that the NMI interrupt does not check to see if the IF flag bit is at logic 1. This interrupt cannot be masked (or disabled) and no acknowledgment is required. It should be reserved for “catastrophic” events such as power failure or memory errors.

8086 External Interrupt Connections NMI - Non-Maskable Interrupt INTR - Interrupt Request Programmable Interrupt Controller (part of chipset) NMI Requesting Device NMI 8086 CPU Intel 8259A PIC 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 co-processor (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 Connected to 8086 Mp 8284 X1 Ready X2 8086 Microprocessor AEN1 CLK 8284 F/C Reset RDY1 RDY2 RES R + 5 V RESET KEY 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.

HLDA (output) Hold Acknowledge Output Hold acknowledge is made high to indicate to the DMA controller that the processor has entered hold state and it can take control over the system bus for DMA operation.

DMA Operation