You are currently viewing Features & Functional Block Diagram Of 8259 Processor

Features & Functional Block Diagram Of 8259 Processor

1. It is programmed to work with either an 8085 or 8086 processor. 

2. It manages 8-interrupts according to the instructions written into its control registers.

3.  In the 8086  processor, supplies the type number of the interrupt and the type number is programmable.  In the 8085  processor,  the interrupt vector address is programmable.  The priorities of the interrupts are programmable.

4. The interrupts can be masked or unmasked individually.

5. The 8259s can be cascaded to accept a maximum of 64 interrupts.


•    It has eight functional blocks. They are,

1.   Control logic

2.   Read Write logic

3.   Data bus buffer

4.   Interrupt Request Register (IRR)

5.   In-Service Register (ISR)

6.   Interrupt Mask Register (IMR)

7.   Priority Resolver (PR)

8.   Cascade buffer.

The data bus and its buffer are used for the following activities.

1.   The processor sends the control word to the data bus buffer through D0-D7.

2.   The processor read status words from the data bus buffer through D0-D7.

3.  From the data bus buffer the  8259 sends the type number  (in case of  8086)  or the call opcode and address (in case of 8085) through D0-D7 to the processor.

•    The processor uses the RD (low), WR (low), and A0 to read or write 8259.

•    The 8259 is selected by CS (low).

•    The  IRR  has eight input lines  (IR0-IR7)  for interrupts.  When these lines go high,  the request is stored in IRR. It registers a request only if the interrupt is unmasked.

•    Normally  IR0  has  highest  priority  and  IR7  has  the  lowest  priority.  The priorities of the interrupt request input are also programmable.

•    First  the  8259  should  be  programmed  by  sending  Initialization  Command  Word  (ICW)
and Operational Command Word (OCW). These command words will inform 8259 about the following,

* Type of interrupt signal (Level triggered / Edge triggered).
* Type of processor (8085/8086).
* Call address and its interval (4 or 8)
* Masking of interrupts.
* Priority of interrupts.
* Type of end of interrupts.

•    The interrupt mask register  (IMR)  stores the masking bits of the interrupt lines to be masked. The relevant information is sent by the processor through OCW.

•    The in-service register keeps track of which interrupt is currently being serviced.

•    The priority resolver examines the interrupt request,  mask, and in-service registers and determines whether the INT signal should be sent to the processor or not.

•    The cascade buffer/comparator is used to expand the interrupts of 8259.

•    In cascade connection one 8259 will be directly interrupting 8086 and it is called master

•    To each interrupt request input of master  8259  (IR0-IR7),  one slave  8259  can be connected. The 8259s interrupting the master 8259 are called slave 8259s.

•    Each 8259 has its own addresses so that each 8259 can be programmed independently by sending command words and independently the status bytes can be read from it.

•    The cascade pins  (CAS0,  CAS1, and  CAS2)  from the master are connected to the corresponding pins of the slave.

•    For the slave 8259, the SP (low) / EN (low) pin is tied low to let the device know that it is
a slave.

•    The SP (low) / EN (low) pin can be used as an input or output signal.

•    In non-buffered mode it is used as an input signal and tied to logic-I in master 8259 and logic-0 in slave 8259.

•    In buffered mode it is used as an output signal to disable the data buffers while data is transferred from 8259A to the CPU.

Cascade Connection of 8059

Aanchal Gupta

Welcome to my website! I'm Aanchal Gupta, an expert in Electrical Technology, and I'm excited to share my knowledge and insights with you. With a strong educational background and practical experience, I aim to provide valuable information and solutions related to the field of electrical engineering. I hold a Bachelor of Engineering (BE) degree in Electrical Engineering, which has equipped me with a solid foundation in the principles and applications of electrical technology. Throughout my academic journey, I focused on developing a deep understanding of various electrical systems, circuits, and power distribution networks.

Leave a Reply