Quiz3F05sol - EE319K Fall 2005 Solution to Quiz 3 Solution...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
EE319K Fall 2005 Solution to Quiz 3 Jonathan W. Valvano Solution A (5) Question 1. const (5) Question 2. static (5) Question 3. $1234 (5) Question 4. $3800 SP-> data -2,x RegX-> oldX 0,x Ret 2,x in 4,x (5) Question 5. xxx = -2 (5) Question 6. yyy = 4 (5) Question 7. 5V/1024 = 5mV (5) Question 8. minimally intrusive (5) Question 9. stabilization (5) Question 10. Stop,Run (5) Question 11. staa PTT (5) Question 12. ldaa 0,x (5) Question 13. ldx 1,x (5) Question 14. (5-1.5-0.5)/0.002 = 1500 (10) Question 15. ADC_In movb #$84,ATDCTL5 loop ldaa ATDSTAT0 bpl loop ldx ATDDR0 rts (10) Question 16. ;SP-> ret 0,s ; ptr 2,s ptr set 2 SCI_Out ldx ptr,s loop ldaa 1,x+ ;data beq done ;null? wait ldab SCISR1 ;tdre bpl wait staa SCIDRL bra loop done rts (10) Question 17. SWIhan movw TCNT,3,sp ;place return value on stack rti org $FFF6 fdb SWIhan Jonathan Valvano Solution B (5) Question 1. volatile (5) Question 2. static (5) Question 3. $ABCD (5) Question 4. $3900 SP-> data -1,x RegX-> oldX 0,x Ret
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/28/2008 for the course EE 319K taught by Professor Bard during the Spring '08 term at University of Texas at Austin.

Page1 / 2

Quiz3F05sol - EE319K Fall 2005 Solution to Quiz 3 Solution...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online