This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: EE2361 Spring 2007 Midterm Exam 2 Write your name and ID number here: 1 (/20) 2 (/20) 3 (/30) 4 (/15) 5 (/15) total (/100) 1 Problem 1: (Short answers) (20 points) A What is the entry point address for the highpriority interrupt service routine in the PIC18F452? B Whats the difference between a device status register and a device control register? C I want to represent the number e (approximately 2.71828182845904523536, the base for natural logarithms) using a signed 16 bit fixed point rep resentation (capable of representing both positive and negative real numbers). Whats the smallest number of bits to the left of the binary point I can have? D I wish to use a 16bit fixedpoint representation to represent the num bers between 0 and 1. What is the smallest worstcase error we could have in such a representation? (Note: each representation will have a worstcase error. I want you to figure out what the best representation is, to minimize this worstcase error.) E Whats the difference between the RETFIE and RETURN instruc tions? (Ive only given you the summary sheet, so you have to answer this in your own words.) 2 Problem 2:...
View
Full
Document
This note was uploaded on 04/07/2008 for the course EE 2361 taught by Professor Staff during the Spring '08 term at Minnesota.
 Spring '08
 Staff

Click to edit the document details