# ex1_s10 -

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
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: EEL 4744C – Dr. Gugel LAST NAME____________________________ FIRST NAME ______________ Spring 2010 Exam #1 UF ID#____________________________________ • Open book and open notes, 90-minute examination to be done in pencil. • No electronic devices are permitted. • All work and solutions are to be written on the exam where appropriate. Point System (for instructor and TA use only) Page 2 16 points _________________ Page 3 12 points _________________ Page 4 18 points _________________ Page 5 26 points _________________ Page 6 28 points _________________ TOTAL _________________ out of 101 Grade Review Information: ( NOTE: deadline of request for grade review is the day the exam is returned .) ________________________________________________________________________________________ ________________________________________________________________________________________ ________________________________________________________________________________________ ________________________________________________________________________________________ ________________________________________________________________________________________ ________________________________________________________________________________________ ________________________________________________________________________________________ ________________________________________________________________________________________ ________________________________________________________________________________________ ________________________________________________________________________________________ ________________________________________________________________________________________ ________________________________________________________________________________________ ________________________________________________________________________________________ ________________________________________________________________________________________ Page 2 Page Score = 1. Given the following code, answer the questions that follow: MOV AL,#0x8010 MOV AH,#0x0020 SUB AL,AH Assuming that all flags are zero when the first instruction is executed, what are the values for the flags after the SUB instruction has executed? C = ______________ Z = __________________ N = ___________________ V = __________________ (4 pt.) 2. What is the value of AL after the SUB instruction has executed? ________________________ Hex (2 pt.) 3. Is the resultant value in AL after the SUB instruction has executed a valid/useable answer? Explain your answer for maximum points. (2 pt.) ________________________________________________________________________________________________ ________________________________________________________________________________________________ 4. A 2x2 keypad similar to the one you used in lab has been connected to the DSP as shown below. Note: There are 1K pull-ups used in this design as opposed to pull-downs used in lab. If DSP Pins 111-114 were initially programmed for External Data Interface, write code to initialize the pins for input & output such that a new application can be written to...
View Full Document

## This document was uploaded on 11/24/2010.

### Page1 / 9

ex1_s10 -

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online