1. (TCO 4) What is the value in Accumulator A after the execution of the code be
ID: 2989519 • Letter: 1
Question
1. (TCO 4) What is the value in Accumulator A after the execution of the code below?
ORG $2000
XYZ DC.B 4, 0, 1, 1, 0
ORG $8000
LDX #XYZ
LDAB #05
LDAA #01
BACK ADDA 0, X
INX
DECB
BNE BACK
A. $06
B. $07
C. $05
D. $1007
None of the above
2. What will be the value in Accumulator A after the following program is executed?
ORG $2000
DATA1 DC.B $F8
ORG $8000
LDAA DATA1
LDAB #4
BACK LSLA
DECB
BNE BACK
HERE BRA HERE
A. $80
B. $08
C. 0
None of the above
Explanation / Answer
1) B. $07
2) A. $80
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.