YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: 8259A PRIORITY INTERRUPT CONTROLLER

8259A PRIORITY INTERRUPT CONTROLLER

Page 2: 8259A PRIORITY INTERRUPT CONTROLLER

8086 has 2 interrupt inputs 1. NMI

2. INTRFor application where we have interrupts from multiple

sources, use an external device called a Priority Interrupt Controller(PIC) to “funnel” the interrupt signals into a single interrupt input on the processor.

Page 3: 8259A PRIORITY INTERRUPT CONTROLLER

8259A Overview and system connection

Page 4: 8259A PRIORITY INTERRUPT CONTROLLER

8259A PIC

Page 5: 8259A PRIORITY INTERRUPT CONTROLLER
Page 6: 8259A PRIORITY INTERRUPT CONTROLLER
Page 7: 8259A PRIORITY INTERRUPT CONTROLLER

Master and slaveMaster The 8259A connected directly into the 8086

INTR pin is called as masterSlave The INT pin from the other 8259A connects into

an IR input on the master. This secondary or cascaded device is called as a slave

Page 8: 8259A PRIORITY INTERRUPT CONTROLLER

Programming the 8259A The 8259A is programmed by properly

initializing:- 4 ICWs - Initialization command

words;- 3 OCWs – Operation command

words; The initialization procedure may not

needto initialize all of them.

Page 9: 8259A PRIORITY INTERRUPT CONTROLLER

Initializing an 8259A1. Find the system base address2. Find the internal address3. System address=internal address + base

address

Page 10: 8259A PRIORITY INTERRUPT CONTROLLER
Page 11: 8259A PRIORITY INTERRUPT CONTROLLER
Page 12: 8259A PRIORITY INTERRUPT CONTROLLER
Page 13: 8259A PRIORITY INTERRUPT CONTROLLER
Page 14: 8259A PRIORITY INTERRUPT CONTROLLER
Page 15: 8259A PRIORITY INTERRUPT CONTROLLER
Page 16: 8259A PRIORITY INTERRUPT CONTROLLER

Related Documents