Docsity

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

Partial preview of the text

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

© EGEN 6263 Advanced Digitel Computer Design F ECEN 3213 Spring ‘04 Exam 2 WRITE YOUR NAME HERE All questions must be answered on test paper! Open Book, Open Notes All questions are for the 68HC711E9 microprocessar. 1, (25 pts) Write assembly code for the following pseudo-code. If reset occurs, the pro- gram should start st “start”. byte Avar[0], sum, Start: sum = 0; for i = 0;1<10,i=i+1) sum = sum + Avarfij; ong 4 oyeod AM Avar ds 10 Sim dy | _ ay Spore Kom Start ab #p nse bfar b varishle 5 Sum, (Lx Advtr ge x fe ptr ho A er > b t+ loop adda OA Stap Sta. sam org fPrPre ine dw > Staet RCE 3215 free ‘14 Tora 2 Ani 12. 1nag 20 aes Lota