Exam #2 - Study Guide - • Be familiar with any...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Electrical, Computer, & Telecommunications Engineering Technology Micro Computers Spring 20073 0618-303 Exam #2 – Study Guide Exam #2 Study Guide Calculation of Program timing Review class notes of examples of calculating the timing of a single loop and nested loop. Be sure that you know how to calculate them, not just how to use a formula. HW #3 and HW#4 have examples and formula derivations. Stack Understand what a stack is and why it is used Know what the stack pointer is and how it is affected when data is pushed to the stack or popped off of the stack Know why a stack must be initialized in any program that uses subroutines or interrupts. Look at the stack demo posted in MyCourse and be sure you can follow each step of putting data on the stack and taking it off. Subroutines Know what a subroutine is and why you should use them
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: • Be familiar with any instructions associated with subroutines • Be able to explain the registers involved and the process by which the microprocessor leaves the main program and begins execution of the subroutine and how it gets back to the main program. Interrupts • Know the three things that must be done in the program in order for the microprocessor to recognize and service interrupts • Know what an interrupt is and how it differs from a subroutine • Be familiar with the information on the handout and how to use the EICRA, EICRB and EIMSK registers. • Know what INT0-INT7 are • Know what interrupt vectors are and how to set them up. • Know what the I flag is, how to set it and how to clear it. Know why you need to set it and why you might clear it. Understand HW #3, HW #4 and HW #5 and labs #3, #4 and #5...
View Full 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