Partial preview of the text
Download Solved Final Exam for Computer Based Systems in Engineering Professors | ECEN 3213 and more Exams Electrical and Electronics Engineering in PDF only on Docsity!
BH ECEN €263 Advanced Blgttal Computer Design & ECEN 3213 Spring ‘04 Final Exam WRITE YOUR NAME HERE Answt~ All questions mast be answered on test paper! Open Book, Open Notes All questions are for the 68HC711E9 microprocessor. 1. (10 pts.) Convert the following numbers to the number represemution requested. Assume that all numbers are represented in one byte. a. convert SEE to unsigned decimal 128 48 FEE =D he ot _ 223g ¢ b. convert SEE to signed decimal te 48 FEE ete ine 238 —- qosival® -= ~1o-272 7th s. convert 97 to hexadecimal as 97 =64t32 41 = Zatiove = $6 I _,_ & convert -97 to hexadecimal a8 472 (6tz ri) = ~yellogdal =o jaaltliz £$49F 2. (10 pta.) The instructions in the table are executed in the order shown. Fill out the fol- lowing table by giving the contents of the A-register (in hexadecimal or binary) and the values of the binary values of the NZVC flags after each of the instructions is executed. instruction. contents of A NZVC Ida #3 fF D 7-7) ts adda #510 Jov ove! ah copa #17 $5 P igad 8D - bil = FOP t IEE anda #$FO 400 O19d = HFe ECEN 3213 Sormg "Od Fival Exam Miay 7, 2004 pie | of?