Docsity

Solved Exam 2 for Computer Based Systems in Engineering | ECEN 3213, Exams of Electrical and Electronics Engineering

Partial preview of the text

Download Solved Exam 2 for Computer Based Systems in Engineering | ECEN 3213 and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

@ ECEN 6253 Advanced Digital Computer Design & ECEN 3213 Spring ‘05 Exam 2 WRITE YOUR NAME HERE A AswCir All questions must be auswered on test paper! Opes Book, Opes Notes - All questions are for the 68HC711E9 mhicroprocessor. 1, (40 pts} Write complete assembly code for the following pseudo-code. If reset ocours, the program should start at “start”, byte Avar{10); Start: Avat{0] = 0; Avar[]]} = 1; for G=2;i< 10;i=i+1) Avarfi] = Avarfi-1] + Avar[i-2}: rg ° forbuop [da ~1x Avig 43 10 add, -2,% org fDboo sty 9X Stat [2x Haver [nx ida o inch, ela aX cmph yo Lata. \ bone lowy? sigs 1, % stop igh 2 arg SFFFE Inx db stant aX ECEN 3213 Spring ‘05 Exam 2 April 6, 2005 page 1 of 4