final-review-3750-S06

final-review-3750-S06 - Review before final exam EE 3750...

Info icon This preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Review before final exam — EE 3750 Interrupts, 82C55, 16550, 8259A Spring 2006 2 Example Serial interface - Assume that 16550 is already initialized Parallel interface - Initialize 82C55, enable Group B interrupts Programmable interrupt controller - Initialize 8259A — interrupt requests from Group B on IR1 and from 16550 on IR2 Interrupt service routine — input via Port B of 82C55 and store in low array Interrupt service routine — input via 16550 and store in high array
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
high input device 8086 8259 82C55 16550 low input device INTR INTA INT INTA IR1 IR2 INTR SIN Port A Port B STB IBF PC0 data bus data data data data 4 Initialize 82C55 78H is low port address Initialize Groups A and B in Mode 1; Port A - output; Port B - input Enable interrupts for Group B - by setting bit 2 of Port C PORTA EQU 78H ; Port A PORTB EQU 79H ; Port B CMD EQU 7BH ; Command register MOV AL, 10100110B ; Modes, A output, B input OUT CMD, AL MOV AL, 00000101B ; set bit 2 of Port C OUT CMD, AL
Image of page 2
5 Initialize 8259A A0H is low port address
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern