thank you for your help 3. (TCO 5) What will be the value in Accumulator A after
ID: 3541103 • Letter: T
Question
thank you for your help
3. (TCO 5) What will be the value in Accumulator A after the following program is executed?
ORG $2000
DATA1 DC.B $55
ORG $8000
LDAA DATA1
LDAB #8
BACK LSLA
DECB
BNE BACK
HERE BRA HERE (Points : 8) 63
55
0
1
both an eight-bit signed and eight-bit unsigned multiply instruction.
only one multiply instruction: eight-bit unsigned.
All of the above
None of the above
Explanation / Answer
3. (TCO 5) What will be the value in Accumulator A after the following program is executed?
ORG $2000
DATA1 DC.B $55
ORG $8000
LDAA DATA1
LDAB #8
BACK LSLA
DECB
BNE BACK
HERE BRA HERE (Points : 8)
63
4. (TCO 5) The MC9S12 instruction set has (Points : 8)
both an eight-bit signed and eight-bit unsigned multiply instruction.
5. (TCO 5) In the following program, what is the largest number that Register B can take?
L1 CLRA
NOP
NOP
DECB
BNE L1 (Points : 8)
255
6. (TCO 7) What is the C statement to write 85 HEX to Port B? (Points : 8)
DDRB = $85;
7. (TCO 8) Assume that PORTB has a value of 0x05. Which of the following gives us an ASCII digit for
4. (TCO 5) The MC9S12 instruction set has (Points : 8)
both an eight-bit signed and eight-bit unsigned multiply instruction.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.