GURSHARAN SINGH TATLA professorgstatla@gmail.com www.eazynotes.com PIN DIAGRAM OF 8085 GURSHARAN SINGH TATLA professorgstatla@gmail.com www.eazynotes.com.

Slides:



Advertisements
Similar presentations
PIN DIAGRAM OF 8085 ENGR M.ZAKIR SHAIKH Visiting Faculty,IBT LUMHS
Advertisements

Gursharan Singh Tatla PIN DIAGRAM OF 8086 Gursharan Singh Tatla Gursharan Singh Tatla
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
Dr. Rabie A. Ramadan Al-Azhar University Lecture 3
8086.  The 8086 is Intel’s first 16-bit microprocessor  The 8086 can run at different clock speeds  Standard 8086 – 5 MHz  –10 MHz 
Chapter Interrupts.
The 8085 Microprocessor Architecture
8085 Interrupts LAKSHMI.B.E.1. Interrupts  Interrupt is a process where an external device can get the attention of the microprocessor. ◦ The process.
Interrupts Disclaimer: All diagrams and figures in this presentation are scanned from the book “Microprocessors and Programmed Logic” authored by Kenneth.
Microprocessor and Microcontroller
I/O Unit.
Parul Polytechnic Institute Subject Code : Name Of Subject : Microprocessor and assembly language programming Name of Unit : Introduction to Microprossor.
BLOCK DIAGRAM OF INTEL 8085 GURSHARAN SINGH TATLA
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.
Gursharan Singh Tatla Block Diagram of Intel 8086 Gursharan Singh Tatla 19-Apr-17.
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.
DEEPAK.P MICROPROCESSORS AND APPLICATIONS Mr. DEEPAK P. Associate Professor ECE Department SNGCE 1.
From: Er Sanjeev Goyal Sr Lect ECE GPC,Bathinda 117/04/2013Punjab Edusat society.
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
created by :Gaurav Shrivastava
MICROPROCESSOR INPUT/OUTPUT
Khaled A. Al-Utaibi  Interrupt-Driven I/O  Hardware Interrupts  Responding to Hardware Interrupts  INTR and NMI  Computing the.
8086/8088 Hardware Specifications Power supply:  +5V with tolerance of ±10%;  360mA. Input characteristics:  Logic 0 – 0.8V maximum, ±10μA maximum;
Microprocessor. Interrupts The processor has 5 interrupts. CALL instruction (3 byte instruction). The processor calls the subroutine, address of which.
8085. Microcomputer Major components of the computer - the processor, the control unit, one or more memory ICs, one or more I/O ICs, and the clock Major.
MICROPROCESSORS & ORGANIZATION OF 8085
Computer Architecture Lecture 6 by Engineer A. Lecturer Aymen Hasan AlAwady 1/12/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
Introduction to Microprocessors - chapter3 1 Chapter 3 The 8085 Microprocessor Architecture.
DMA & Interrupts By Santhosh H. S. DMA DMA Definitions: DMA occurs between an I/O device and memory without the use of the microprocessor DMA read transfer.
MACHINE CYCLE AND T-STATE
بسم الله الرحمن الرحيم MEMORY AND I/O.
The 8085 Microprocessor Architecture. What 8085 meant for? 80 - year of invention bit processor 5 - uses +5V for power.
8085 Microprocessor: Architecture & Support Components.
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.
Gandhinagar Institute of Technology
8 085Microprocessor Temp Reg (8) Accumulator (A reg) Flag flip flops(8) Instruction Register (8) Arithmetic Logic Unit ALU Instruction Decoder and Machine.
Architecture of 8085 Nitin Mishra. Registers Microprocessor Instruction Cache Arithmetic & Logic Unit Control Unit Bus Interface Unit Data Cache Instruction.
AMITY UNIVERSITY RAJASTHAN Present By M.Sc Applied Chemistry.
G.H.PATEL COLLEGE OF ENGG.& TECH. SUBJECT:-Micro processor & controller GUIDED BY :-Bhavesh R hindocha PREPARED BY:- PARTH TRIVEDI( ) AJAY KATHIRIYA( )
Unit Microprocessor.
HISTORY OF MICROPROCESSORS
COURSE OUTCOMES OF Microprocessor and programming
BLOCK DIAGRAM OF INTEL 8085.
8085 INTRODUCTION The features of INTEL 8085 are :
Everybody.
8085 Interrupts LAKSHMI.B.E..
The process starts from the I/O device
Introduction to the processor and its pin configuration
Interrupts In 8085 and 8086.
Unit - 1 Interrupts M.Brindha AP/EIE
Interrupts.
EE3541 Introduction to Microprocessors
Dr. Michael Nasief Lecture 2
8086/8088 Hardware Specifications
8085 Microprocessor Architecture
8085 Interrupts.
Interrupt.
An Introduction to Microprocessor Architecture using intel 8085 as a classic processor
Instruction cycle Instruction: A command given to the microprocessor to perform an operation Program : A set of instructions given in a sequential.
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.
8085 Microprocessor Architecture
X1 & X2 These are also called Crystal Input Pins.
Interrupts.
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Interrupts 1/18/2019.
8085 Microprocessor Architecture
Presentation transcript:

GURSHARAN SINGH TATLA professorgstatla@gmail.com www.eazynotes.com PIN DIAGRAM OF 8085 GURSHARAN SINGH TATLA professorgstatla@gmail.com www.eazynotes.com Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Introduction to 8085 It was introduced in 1977. It is 8-bit microprocessor. Its actual name is 8085 A. It is single NMOS device. It contains 6200 transistors approx. Its dimensions are 164 mm x 222 mm. It is having 40 pins Dual- Inline-Package (DIP). Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Introduction to 8085 It has three advanced versions: 8085 AH 8085 AH2 8085 AH1 These advanced versions are designed using HMOS technology. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Introduction to 8085 The advanced versions consume 20% less power supply. The clock frequencies of 8085 are: 8085 A 3 MHz 8085 AH 3 MHz 8085 AH2 5 MHz 8085 AH1 6 MHz Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Pin Diagram of 8085 Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

X1 & X2 Pin 1 and Pin 2 (Input) These are also called Crystal Input Pins. 8085 can generate clock signals internally. To generate clock signals internally, 8085 requires external inputs from X1 and X2. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

RESET IN and RESET OUT Pin 36 (Input) and Pin 3 (Output) It is used to reset the microprocessor. It is active low signal. When the signal on this pin is low for at least 3 clocking cycles, it forces the microprocessor to reset itself. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

RESET IN and RESET OUT Pin 36 (Input) and Pin 3 (Output) Resetting the microprocessor means: Clearing the PC and IR. Disabling all interrupts (except TRAP). Disabling the SOD pin. All the buses (data, address, control) are tri-stated. Gives HIGH output to RESET OUT pin. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

RESET IN and RESET OUT Pin 36 (Input) and Pin 3 (Output) It is used to reset the peripheral devices and other ICs on the circuit. It is an output signal. It is an active high signal. The output on this pin goes high whenever RESET IN is given low signal. The output remains high as long as RESET IN is kept low. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

SID and SOD Pin 4 (Input) and Pin 5 (Output) SID (Serial Input Data): It takes 1 bit input from serial port of 8085. Stores the bit at the 8th position (MSB) of the Accumulator. RIM (Read Interrupt Mask) instruction is used to transfer the bit. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

SID and SOD Pin 4 (Input) and Pin 5 (Output) SOD (Serial Output Data): It takes 1 bit from Accumulator to serial port of 8085. Takes the bit from the 8th position (MSB) of the Accumulator. SIM (Set Interrupt Mask) instruction is used to transfer the bit. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Interrupt Pins Interrupt: It means interrupting the normal execution of the microprocessor. When microprocessor receives interrupt signal, it discontinues whatever it was executing. It starts executing new program indicated by the interrupt signal. Interrupt signals are generated by external peripheral devices. After execution of the new program, microprocessor goes back to the previous program. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Sequence of Steps Whenever There is an Interrupt Microprocessor completes execution of current instruction of the program. PC contents are stored in stack. PC is loaded with address of the new program. After executing the new program, the microprocessor returns back to the previous program. It goes to the previous program by reading the top value of stack. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Five Hardware Interrupts in 8085 TRAP RST 7.5 RST 6.5 RST 5.5 INTR Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Classification of Interrupts Maskable and Non-Maskable Vectored and Non-Vectored Edge Triggered and Level Triggered Priority Based Interrupts Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Maskable Interrupts Maskable interrupts are those interrupts which can be enabled or disabled. Enabling and Disabling is done by software instructions. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Maskable Interrupts List of Maskable Interrupts: RST 7.5 RST 6.5 INTR Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Non-Maskable Interrupts The interrupts which are always in enabled mode are called non-maskable interrupts. These interrupts can never be disabled by any software instruction. TRAP is a non-maskable interrupt. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Vectored Interrupts The interrupts which have fixed memory location for transfer of control from normal execution. Each vectored interrupt points to the particular location in memory. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Vectored Interrupts List of vectored interrupts: RST 7.5 RST 6.5 TRAP Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Vectored Interrupts The addresses to which program control goes: Absolute address is calculated by multiplying the RST value with 0008 H. Name Vectored Address RST 7.5 003C H (7.5 x 0008 H) RST 6.5 0034 H (6.5 x 0008 H) RST 5.5 002C H (5.5 x 0008 H) TRAP 0024 H (4.5 x 0008 H) Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Non-Vectored Interrupts The interrupts which don't have fixed memory location for transfer of control from normal execution. The address of the memory location is sent along with the interrupt. INTR is a non-vectored interrupt. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Edge Triggered Interrupts The interrupts which are triggered at leading or trailing edge are called edge triggered interrupts. RST 7.5 is an edge triggered interrupt. It is triggered during the leading (positive) edge. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Level Triggered Interrupts The interrupts which are triggered at high or low level are called level triggered interrupts. RST 6.5 RST 5.5 INTR TRAP is edge and level triggered interrupt. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Priority Based Interrupts Whenever there exists a simultaneous request at two or more pins then the pin with higher priority is selected by the microprocessor. Priority is considered only when there are simultaneous requests. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Priority Based Interrupts Priority of interrupts: Interrupt Priority TRAP 1 RST 7.5 2 RST 6.5 3 RST 5.5 4 INTR 5 Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

TRAP Pin 6 (Input) It is an non-maskable interrupt. It has the highest priority. It cannot be disabled. It is both edge and level triggered. It means TRAP signal must go from low to high. And must remain high for a certain period of time. TRAP is usually used for power failure and emergency shutoff. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

RST 7.5 Pin 7 (Input) It is a maskable interrupt. It has the second highest priority. It is positive edge triggered only. The internal flip-flop is triggered by the rising edge. The flip-flop remains high until it is cleared by RESET IN. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

RST 6.5 Pin 8 (Input) It is a maskable interrupt. It has the third highest priority. It is level triggered only. The pin has to be held high for a specific period of time. RST 6.5 can be enabled by EI instruction. It can be disabled by DI instruction. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

RST 5.5 Pin 9 (Input) It is a maskable interrupt. It has the fourth highest priority. It is also level triggered. The pin has to be held high for a specific period of time. This interrupt is very similar to RST 6.5. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

INTR Pin 10 (Input) It is a maskable interrupt. It has the lowest priority. It is also level triggered. It is a general purpose interrupt. By general purpose we mean that it can be used to vector microprocessor to any specific subroutine having any address. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

INTA Pin 11 (Output) It stands for interrupt acknowledge. It is an out going signal. It is an active low signal. Low output on this pin indicates that microprocessor has acknowledged the INTR request. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Address and Data Pins Address Bus: The address bus is used to send address to memory. It selects one of the many locations in memory. Its size is 16-bit. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Address and Data Pins Data Bus: It is used to transfer data between microprocessor and memory. Data bus is of 8-bit. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

AD0 – AD7 Pin 19-12 (Bidirectional) These pins serve the dual purpose of transmitting lower order address and data byte. During 1st clock cycle, these pins act as lower half of address. In remaining clock cycles, these pins act as data bus. The separation of lower order address and data is done by address latch. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

A8 – A15 Pin 21-28 (Unidirectional) These pins carry the higher order of address bus. The address is sent from microprocessor to memory. These 8 pins are switched to high impedance state during HOLD and RESET mode. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

ALE Pin 30 (Output) It is used to enable Address Latch. It indicates whether bus functions as address bus or data bus. If ALE = 1 then Bus functions as address bus. If ALE = 0 then Bus functions as data bus. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

S0 and S1 Pin 29 (Output) and Pin 33 (Output) S0 and S1 are called Status Pins. They tell the current operation which is in progress in 8085. S0 S1 Operation Halt 1 Write Read Opcode Fetch Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

IO/M Pin 34 (Output) This pin tells whether I/O or memory operation is being performed. If IO/M = 1 then I/O operation is being performed. If IO/M = 0 then Memory operation is being performed. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

IO/M Pin 34 (Output) The operation being performed is indicated by S0 and S1. If S0 = 0 and S1 = 1 then It indicates WRITE operation. If IO/M = 0 then It indicates Memory operation. Combining these two we get Memory Write Operation. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

Table Showing IO/M, S0, S1 and Corresponding Operations Opcode Fetch 1 Memory Read Memory Write I/O Read I/O Write Interrupt Ack. Halt High Impedance Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

RD Pin 32 (Output) RD stands for Read. It is an active low signal. It is a control signal used for Read operation either from memory or from Input device. A low signal indicates that data on the data bus must be placed either from selected memory location or from input device. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

WR Pin 31 (Output) WR stands for Write. It is also active low signal. It is a control signal used for Write operation either into memory or into output device. A low signal indicates that data on the data bus must be written into selected memory location or into output device. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

READY Pin 35 (Input) This pin is used to synchronize slower peripheral devices with fast microprocessor. A low value causes the microprocessor to enter into wait state. The microprocessor remains in wait state until the input at this pin goes high. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

HOLD Pin 38 (Input) HOLD pin is used to request the microprocessor for DMA transfer. A high signal on this pin is a request to microprocessor to relinquish the hold on buses. This request is sent by DMA controller. Intel 8257 and Intel 8237 are two DMA controllers. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

HLDA Pin 39 (Output) HLDA stands for Hold Acknowledge. The microprocessor uses this pin to acknowledge the receipt of HOLD signal. When HLDA signal goes high, address bus, data bus, RD, WR, IO/M pins are tri-stated. This means they are cut-off from external environment. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

HLDA Pin 39 (Output) The control of these buses goes to DMA Controller. Control remains at DMA Controller until HOLD is held high. When HOLD goes low, HLDA also goes low and the microprocessor takes control of the buses. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com

VSS and VCC Pin 20 (Input) and Pin 40 (Input) +5V power supply is connected to VCC. Ground signal is connected to VSS. Gursharan Singh Tatla professorgstatla@gmail.com www.eazynotes.com