Quiz3F03sol - (5) Question 9. Give value of number 2000*1/4...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
EE319K Fall 2003 Quiz 3 Solution Jonathan W. Valvano November 21, 2003 11:00am-11:50am (5) Question 1. Number of decimal digits 2000 alternatives is 3 ½ decimal digits (5) Question 2. Decimal value $A5 = 10*16+5=165 (2) Part 3a. Specify RegB RegB = 100+200-256 = 44 (2) Part 3b. Specify 0 or 1 C=1 (error, 100 + 200 is not 44) (1) Part 3c. Specify 0 or 1 V=0 (no error, 100 + -54 = 44) (5) Question 4. Choose A-E E. ldy TCNT (5) Question 5. Show the machine code rr110nnn, with rr=10 nnn=001 EDB1 ldy 2,sp+ (5) Question 6. Show assembly bset DDRT,#$40 or ldaa DDRT oraa #$40 staa DDRT (5) Question 7. Simplified memory cycles (you may or may not need all 5 entries) R/W Addr Data Read $F000 DD Read $F001 00 Read $0000 00 Read $0001 01 (5) Question 8. Choose A-G E) Value of Reg D is copied to Reg X
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (5) Question 9. Give value of number 2000*1/4 = 500 (5) Question 10. Effective address EA=X+A=$0800+5= $0805 (5) Question 11. Give op code bls (5) Question 12. Number of bytes/sec 9600(bits/s)/10(bits/frame) =960 bytes/s (5) Question13. Choose A, B, C or D. B (5) Question 14. Matrix equation C. base+I+4*J (5) Question 15. ADC conversion 255*1.00V/5V= 51 (5) Question 16. LED equation I d = (5 -V d- V OL )/ R 1 (5) Question 17. List all registers A. all registers but the SP (5) Question 18. Choose A-E B. array containing list of functions to execute (5) Question 19a) Choose A-F org $0800 ***** C) place it here ******* org $F000 (5) Question 19b) Choose A-F org $F000 ***** D) place it here ******* main movw #SA,pt...
View Full Document

This test prep was uploaded on 04/21/2008 for the course EE 319K taught by Professor Bard during the Spring '08 term at University of Texas at Austin.

Ask a homework question - tutors are online