Download Final Exam with Solution for Advanced Digital Computer Design | ECEN 3213 and more Exams Electrical and Electronics Engineering in PDF only on Docsity! mM ECEN 6253 Advanced Digttal Computer Design a
ECEN 3213
Spring ‘05
Final Exam
WRITE YOUR NAME HERE An Sey
All questions must be answered on test paper!
Open Book, Open Notes
All questions are for the 68HC711E9 microprocessor.
1, (18 pts.) Convert the following numbers io the number representation requested.
Assume that all numbers are represented in one word = two bytes.
a convert S01EE to unsigned decimal
BOER: [eign e féx|b +14
2256 + 204 414
= 144
b. convert $FFEE to signed decimal
j "1634
PFEE =~ 601 2y
i
= -tb142 164
=~ig 3h |
¢. convert 1539 to binary (2 bytes)
Bva0dilD vqvo IOI iq@2 48
Ge 9
4G 46
d. convert 1539 to hexadecimal (2 bytes) 24 ©
pob03 12 6
& @
e. convert ~1539 to binary (2 bytes) ge
liyppool cllr yet 1)
f. convert -1539 to hexadecimal (2 bytes)
BFIUFD
ECEN 3213 Spring ‘05 Final Exam Muy 4, 2003
page } ofS
B ECEN 6253
Advanced Digital Computer Design &
2. (16 pts.) The instructions in the table are executed in the order shown. Fill out the fol-
lowing lable 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 #4 Sot DOV? 5
adda #87F eZ jolo es
anda #6 $0 2 po000 mn
anda #2 $ oe youd
3. (20 pts.) The instructions in the table are executed in the order shown. Fill out the fol-
lowing table by giving the RAM address used for storing data and the value in RAM
after the instruction executes.
instruction
RAM address
RAM data
org $D000
db 47
db $47
ida $D000
sta $0000
Ida SDOO1
sta $0001
Idx #30100
lda 0
sta 5,X
ida $01
sta $14,X
ida #501
sta 5
ECEN 3213 Spring ‘05 Final Exam
May 4, 2005 page af