EE319K_EXAM1_B_2010_FALL

EE319K_EXAM1_B_2010_FALL - EE319K Fall 2010 Exam 1B Page 1...

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

View Full Document Right Arrow Icon
EE319K Fall 2010 Exam 1B Page 1 Jonathan W. Valvano October 1, 2010 10:00am-10:50am First:_________________ Last:_____________________ This is a closed book exam. You must put your answers on pages 1,2,3,4 only. You have 50 minutes, so allocate your time accordingly. Show your work, and put your answers in the boxes. Please read the entire quiz before starting. (5) Question 1. The format is 8-bit signed. What is the hexadecimal representation of the value -60? (5) Question 2. When you add two 8-bit signed numbers an overflow error can occur. Which of the following techniques can be used to handle the problem of overflow? If there is more than one answer, give all answers that could work. A) Make it nonvolatile. B) Mask the data C) Make it friendly. D) Use interrupts. E) Implement ceiling and floor. F) Add drop out. G) Use promotion. H) Use demotion. I) Use unsigned math. (5) Question 3. Consider the following two instructions ldab #250 subb #-2 What will be the value of the overflow (V) bit? What will be the value of the carry (C) bit?
Image of page 1

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

View Full Document Right Arrow Icon