“omputer Si
American University of Shariah
caring Dept, COE 24,
1. Asyou execute he folowing isrctions sequentially, fil he allowing tbl scoring (8p
Tastructions | AceD=SAA00 [Ve=0 | Ne=O | HO [o
ara —| Sap Dots
a vboléry
Sine,
2 Ate exci te ow intron seni ps
LDD #5A0B0 Bane jo we
Dx #83078 Po
EXG DX po fets «acto
EXG X/A PoBoNe | oxo
‘What ate the final values of Ace.D and index register X?
AeD=BOVE apex 00
a
3. Afr executing the following code sequently, update the contents ofthe fected memory locations
inadncent ray 0p
wos zo ORES | MEORY
‘ « pre som eRe e
af gree a we sme
BS ie RE
Sato
wees MR sae
site Sey [sao
Str wos sabe
sx 506, [s2006___[sG000/)
(s2007_American University ofS
ter Science & Engineers
1. Asyuu execute the following instructions squeal, lhe following uble accordingly (40p)
Tastractoas— [ACCD-SAA Ve [NT] BO [Cro]
AOD SB osvo | ilolali
aad veo | iti tolo
2. After exeuting te blow insutions sequeatily 20p)
Loy #53090
EDD #84030
TR BY
TR AX
XG AB
EXG YA
‘What ate the final values of AceD, index register X and inde
AccD=_30KO_5x~ ERO p00 0030
5. After exeating he lowing odes
In adjacent ara 0p):
Ly
Lp
TrR
st
Lp
ECA
DECB
sD
2000
30,
304,
300, ¥
06,7
ey, pate te contents ofthe affected ery leans
‘ADDRESS [MEMORY
__| CONTENTS s
[s2000——[aa J
eso ‘200117 |
os ‘oor ec.
“ 2003; [30
ante 2001 [FF
a $2005 [FF
o $2006 | 00
(S200 — TooAmerican University of Sh
Computer Science & Fi Dept, COE 241, Quiz 2
yet Hofer:
poe es _
1.Jaxyou execute the allowing instructions sequentially, lhe following ube acortingy [0p
as
eis]
Tasiracns | ACCD-SSAR [VO | NO] HW [CD
Ss pg [DBO] haa fa 3
Rope 5 B65 4 [eo 4
After excting thee tos eel
(20 poy
sewer tent te
LDy #89030 3 y
EDD AB30AA
vTFR BY BeTaa
STFR ALX
“EXG AB
EXG YA
B= 30g, Whtarethe na valet of Ast. ndx rit X ad inde eit V7
acca = 4ANI0_;x=_¥9030 $ 00AA
Ys 00 AA ASA v _
Aer eect the lowing oe scien, wpe te ons he afd manery
Seen ace ray
3
A oe
8 ADDRESS MEMORY CONTENTS.
ss | FF Loy #52000 s
T vip SY soe ae
vi Ax
x Sanz
pos sas
DCA 2004
sce 2005
oy Dw