SlideShare a Scribd company logo
1 of 13
PROGRAMMABLE INTERRUPT
CONTROLLER 8259
Md. Fazle Rabbi
ID:16CSE057
CONTENTS
 Introduction
 Block Diagram of 8259 PIC
 Details on Block of 8259 PIC
 PIN Diagram of 8259
INTRODUCTION
 8259 is a programmable interrupt controller(PIC) is a
tool for managing the interrupt requests
 8259 combines the multi interrupt input sources into
a single interrupt output.
 It has Internal priority resolver which can be
programmed into fixed priority mode and rotating priority
mode.
 It is available as a separate IC
BLOCK DIAGRAM OF 8259 PIC
DATA BUS BUFFER:
•This, bidirectional 8-bit buffer is used to interface the 8259 to the
system data bus.
•Control words and status information from the microprocessor to PIC
and from PIC to microprocessor respectively, are transferred .
•The processor sends control word to data bus buffer through D0-D7.
•The processor read status word from data bus buffer through D0-D7
•Also, after selection of Interrupt by 8259 microprocessor, it transfer
the op-code of the selected Interrupt and address of the Interrupt
service sub routine to the other connected microprocessor.
PINS CONNECTED WITH READ/WRITE & CONTROL LOGIC
• RD, WR, CS and A0 are the control signals used in Read/Write and Control
Logic.
•The processor uses the RD (low), WR (low) and A0 to read or write 8259.
• A LOW on WR input enables the CPU to write control words
• A LOW on RD input enables the 8259A to send the status of the Interrupt
Request Register (IRR), In Service Register (ISR), the Interrupt Mask
Register (IMR), or the Interrupt level onto the Data Bus.
•A0 input signal is used in conjunction with WR and RD signals to write
commands into the various command registers, as well as reading the various
status registers of the chip. This line can be tied directly to one of the address
lines
INTERRUPT REQUEST REGISTER (IRR):
•This block accepts and stores the actual interrupt requests from external
interrupting devices on IR0 –IR7 lines.
•Interrupt request register (IRR) stores all the incoming interrupt inputs that are
requesting service.
• It is an 8-bit register – one bit for each interrupt request.
• Basically, it keeps track of which interrupt inputs are asking for service and
also stores the pending interrupt requests.
•If an interrupt input is unmasked, and has an interrupt signal on it, then the
corresponding bit in the IRR will be set.
INTERRUPT MASK REGISTER (IMR):
• This logic block masks interrupt lines based on programming by the processor and prevents
masked interrupt lines from interrupting the processor.
• The IMR is used to disable (Mask) or enable (Unmask) individual interrupt request inputs.
• This is also an 8-bit register. Each bit in this register corresponds to the interrupt input with
the same number.
• The IMR operates on the IRR. Masking of higher priority input will not affect the interrupt
request lines of lower priority.
• To unmask any interrupt the corresponding bit is set ‘0’
IN-SERVICE REGISTER (ISR):
• The in-service register keeps track of which interrupt inputs are
currently being serviced.
• For each input that is currently being serviced the corresponding bit
of in-service register (ISR) will be set.
• Thus, more than one bit of ISR will be set indicating the number of
interrupts being serviced.
• Each of these 3-registers can be read as status register.
PRIORITY RESOLVER:
• This logic block determines the priorities of the incoming
interrupts set in the IRR.
• It takes the information from IRR, IMR and ISR to determine
whether the new interrupt request is having highest priority or
not.
• If the new interrupt request is having the highest priority, it is
selected and processed.
• The corresponding bit of ISR will be set during interrupt
acknowledge machine cycle
CASCADE BUFFER/COMPARATOR:
• This logic allows for cascading multiple 8259 controllers in a Master/
Slave configuration.
• This function block stores and compares the IDs of all 8259A’s in the
system.
• The associated 3-I/O lines (CAS2-CAS0) are outputs when 8259A is
used as a master and are inputs when 8259 is used as a slave.
• As a master, the 8259A sends the ID of the interrupting slave device
onto the CAS2-0 lines.
• The slave 8259’s compare this ID with their own programmed ID.
• Thus selected 8259 will send its pre-programmed subroutine address
on to the data
PIN DIAGRAM OF 8259
THE END

More Related Content

What's hot

8086-instruction-set-ppt
 8086-instruction-set-ppt 8086-instruction-set-ppt
8086-instruction-set-ppt
jemimajerome
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
Tech_MX
 

What's hot (20)

System bus timing 8086
System bus timing 8086System bus timing 8086
System bus timing 8086
 
8086 in minimum mode
8086 in minimum mode8086 in minimum mode
8086 in minimum mode
 
8085 instruction set
8085 instruction set8085 instruction set
8085 instruction set
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
8086-instruction-set-ppt
 8086-instruction-set-ppt 8086-instruction-set-ppt
8086-instruction-set-ppt
 
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1
 
Architecture of 80286 microprocessor
Architecture of 80286 microprocessorArchitecture of 80286 microprocessor
Architecture of 80286 microprocessor
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
Module 1 8086
Module 1 8086Module 1 8086
Module 1 8086
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
 
Interfacing Stepper motor with 8051
Interfacing Stepper motor with 8051Interfacing Stepper motor with 8051
Interfacing Stepper motor with 8051
 
80286 microprocessor
80286 microprocessor80286 microprocessor
80286 microprocessor
 
Addressing modes of 8086
Addressing modes of 8086Addressing modes of 8086
Addressing modes of 8086
 
4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257
 
8086
80868086
8086
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
 
8086 Micro-processor and MDA 8086 Trainer Kit
8086 Micro-processor and MDA 8086 Trainer Kit8086 Micro-processor and MDA 8086 Trainer Kit
8086 Micro-processor and MDA 8086 Trainer Kit
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
Interrupts of 8086
Interrupts of 8086Interrupts of 8086
Interrupts of 8086
 

Similar to 3.programmable interrupt controller 8259

8259 programmable PPI interfacing with 8085 .ppt
8259 programmable PPI interfacing with 8085 .ppt8259 programmable PPI interfacing with 8085 .ppt
8259 programmable PPI interfacing with 8085 .ppt
DrVikasMahor
 
21262738 8259a-programmable-interrupt-controller-2
21262738 8259a-programmable-interrupt-controller-221262738 8259a-programmable-interrupt-controller-2
21262738 8259a-programmable-interrupt-controller-2
lords_ko
 
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
8259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R28259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R2
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
Aisu
 

Similar to 3.programmable interrupt controller 8259 (20)

8259 Interrupt Controller
8259 Interrupt Controller8259 Interrupt Controller
8259 Interrupt Controller
 
8259
82598259
8259
 
8259.pptx
8259.pptx8259.pptx
8259.pptx
 
8259 updated
8259 updated 8259 updated
8259 updated
 
8259 a
8259 a8259 a
8259 a
 
8259 programmable PPI interfacing with 8085 .ppt
8259 programmable PPI interfacing with 8085 .ppt8259 programmable PPI interfacing with 8085 .ppt
8259 programmable PPI interfacing with 8085 .ppt
 
21262738 8259a-programmable-interrupt-controller-2
21262738 8259a-programmable-interrupt-controller-221262738 8259a-programmable-interrupt-controller-2
21262738 8259a-programmable-interrupt-controller-2
 
Intel 8259 - Programmable Interrupt Controller
Intel 8259 - Programmable Interrupt Controller  Intel 8259 - Programmable Interrupt Controller
Intel 8259 - Programmable Interrupt Controller
 
B sc e5.2 mp unit 3 interfacing
B sc e5.2 mp unit 3 interfacingB sc e5.2 mp unit 3 interfacing
B sc e5.2 mp unit 3 interfacing
 
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
8259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R28259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R2
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
 
8259a.pdf
8259a.pdf8259a.pdf
8259a.pdf
 
8259 programmable interrupt controller
8259 programmable interrupt controller8259 programmable interrupt controller
8259 programmable interrupt controller
 
Introduction to 80386
Introduction to 80386Introduction to 80386
Introduction to 80386
 
MP_MC.pdf
MP_MC.pdfMP_MC.pdf
MP_MC.pdf
 
Microprocessor and Microcontroller lec5
Microprocessor and Microcontroller lec5Microprocessor and Microcontroller lec5
Microprocessor and Microcontroller lec5
 
With suitable diagram explain the working of 8255 a and inerrupts
With suitable diagram explain the working of 8255 a and inerruptsWith suitable diagram explain the working of 8255 a and inerrupts
With suitable diagram explain the working of 8255 a and inerrupts
 
Microprocessor Architecture-III
Microprocessor Architecture-IIIMicroprocessor Architecture-III
Microprocessor Architecture-III
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
 
8279nptel
8279nptel 8279nptel
8279nptel
 
Introduction to 80386 microprocessor
Introduction to 80386 microprocessorIntroduction to 80386 microprocessor
Introduction to 80386 microprocessor
 

More from MdFazleRabbi18

Topic4 data encryption standard(des)
Topic4 data encryption standard(des)Topic4 data encryption standard(des)
Topic4 data encryption standard(des)
MdFazleRabbi18
 

More from MdFazleRabbi18 (20)

5.programmable interval timer 8253
5.programmable interval timer 82535.programmable interval timer 8253
5.programmable interval timer 8253
 
1.ppi 8255
1.ppi 8255 1.ppi 8255
1.ppi 8255
 
Topic4 data encryption standard(des)
Topic4 data encryption standard(des)Topic4 data encryption standard(des)
Topic4 data encryption standard(des)
 
Topic3 playfain
Topic3 playfainTopic3 playfain
Topic3 playfain
 
Topic2 caser hill_cripto
Topic2 caser hill_criptoTopic2 caser hill_cripto
Topic2 caser hill_cripto
 
Topic5 advanced encryption standard (aes)
Topic5 advanced encryption standard (aes)Topic5 advanced encryption standard (aes)
Topic5 advanced encryption standard (aes)
 
Topic1 substitution transposition-techniques
Topic1 substitution transposition-techniquesTopic1 substitution transposition-techniques
Topic1 substitution transposition-techniques
 
11. lzw coding
11. lzw coding11. lzw coding
11. lzw coding
 
9. hofman coding in DIP
9. hofman coding in DIP9. hofman coding in DIP
9. hofman coding in DIP
 
7. image enhancement using spatial filtering
7. image enhancement using spatial filtering7. image enhancement using spatial filtering
7. image enhancement using spatial filtering
 
5. gray level transformation
5. gray level transformation5. gray level transformation
5. gray level transformation
 
1. steps in image processing
1. steps in image processing1. steps in image processing
1. steps in image processing
 
5. convolution and correlation of discrete time signals
5. convolution and correlation of discrete time signals 5. convolution and correlation of discrete time signals
5. convolution and correlation of discrete time signals
 
4. operations of signals
4. operations of signals 4. operations of signals
4. operations of signals
 
3. systems
3. systems 3. systems
3. systems
 
2. classification of signals
2. classification of signals 2. classification of signals
2. classification of signals
 
1. elementary signals
1. elementary signals 1. elementary signals
1. elementary signals
 
4. random number and it's generating techniques
4. random number and it's generating techniques 4. random number and it's generating techniques
4. random number and it's generating techniques
 
3. different types of simulations for appropriate systems
3. different types of simulations for appropriate systems 3. different types of simulations for appropriate systems
3. different types of simulations for appropriate systems
 
2. steps in a simulation study
2. steps in a simulation study 2. steps in a simulation study
2. steps in a simulation study
 

Recently uploaded

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 

3.programmable interrupt controller 8259

  • 2. CONTENTS  Introduction  Block Diagram of 8259 PIC  Details on Block of 8259 PIC  PIN Diagram of 8259
  • 3. INTRODUCTION  8259 is a programmable interrupt controller(PIC) is a tool for managing the interrupt requests  8259 combines the multi interrupt input sources into a single interrupt output.  It has Internal priority resolver which can be programmed into fixed priority mode and rotating priority mode.  It is available as a separate IC
  • 4. BLOCK DIAGRAM OF 8259 PIC
  • 5. DATA BUS BUFFER: •This, bidirectional 8-bit buffer is used to interface the 8259 to the system data bus. •Control words and status information from the microprocessor to PIC and from PIC to microprocessor respectively, are transferred . •The processor sends control word to data bus buffer through D0-D7. •The processor read status word from data bus buffer through D0-D7 •Also, after selection of Interrupt by 8259 microprocessor, it transfer the op-code of the selected Interrupt and address of the Interrupt service sub routine to the other connected microprocessor.
  • 6. PINS CONNECTED WITH READ/WRITE & CONTROL LOGIC • RD, WR, CS and A0 are the control signals used in Read/Write and Control Logic. •The processor uses the RD (low), WR (low) and A0 to read or write 8259. • A LOW on WR input enables the CPU to write control words • A LOW on RD input enables the 8259A to send the status of the Interrupt Request Register (IRR), In Service Register (ISR), the Interrupt Mask Register (IMR), or the Interrupt level onto the Data Bus. •A0 input signal is used in conjunction with WR and RD signals to write commands into the various command registers, as well as reading the various status registers of the chip. This line can be tied directly to one of the address lines
  • 7. INTERRUPT REQUEST REGISTER (IRR): •This block accepts and stores the actual interrupt requests from external interrupting devices on IR0 –IR7 lines. •Interrupt request register (IRR) stores all the incoming interrupt inputs that are requesting service. • It is an 8-bit register – one bit for each interrupt request. • Basically, it keeps track of which interrupt inputs are asking for service and also stores the pending interrupt requests. •If an interrupt input is unmasked, and has an interrupt signal on it, then the corresponding bit in the IRR will be set.
  • 8. INTERRUPT MASK REGISTER (IMR): • This logic block masks interrupt lines based on programming by the processor and prevents masked interrupt lines from interrupting the processor. • The IMR is used to disable (Mask) or enable (Unmask) individual interrupt request inputs. • This is also an 8-bit register. Each bit in this register corresponds to the interrupt input with the same number. • The IMR operates on the IRR. Masking of higher priority input will not affect the interrupt request lines of lower priority. • To unmask any interrupt the corresponding bit is set ‘0’
  • 9. IN-SERVICE REGISTER (ISR): • The in-service register keeps track of which interrupt inputs are currently being serviced. • For each input that is currently being serviced the corresponding bit of in-service register (ISR) will be set. • Thus, more than one bit of ISR will be set indicating the number of interrupts being serviced. • Each of these 3-registers can be read as status register.
  • 10. PRIORITY RESOLVER: • This logic block determines the priorities of the incoming interrupts set in the IRR. • It takes the information from IRR, IMR and ISR to determine whether the new interrupt request is having highest priority or not. • If the new interrupt request is having the highest priority, it is selected and processed. • The corresponding bit of ISR will be set during interrupt acknowledge machine cycle
  • 11. CASCADE BUFFER/COMPARATOR: • This logic allows for cascading multiple 8259 controllers in a Master/ Slave configuration. • This function block stores and compares the IDs of all 8259A’s in the system. • The associated 3-I/O lines (CAS2-CAS0) are outputs when 8259A is used as a master and are inputs when 8259 is used as a slave. • As a master, the 8259A sends the ID of the interrupting slave device onto the CAS2-0 lines. • The slave 8259’s compare this ID with their own programmed ID. • Thus selected 8259 will send its pre-programmed subroutine address on to the data