Exam #2 - Study Guide

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

Info iconThis 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
Background 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

This note was uploaded on 01/10/2012 for the course ENG 0618-303 taught by Professor Christman during the Spring '07 term at RIT.

Ask a homework question - tutors are online