1. What addressing mode is used for the instruction, INX? Direct Indexed Inheren
ID: 1937877 • Letter: 1
Question
1.What addressing mode is used for the instruction, INX? DirectIndexed
Inherent
Immediate
None of the above
2.Where is the address of the next instruction after the JSR instruction saved it? Stack
SP Register
PC Register
X Register
3.After the execution of the following code, the value in Register D is:
LDAA #$BB
LDAB #$CC
ANDA #$0F
ANDB #$F0(Points : 8) $FFFF.
$CCBB.
$C00B.
$0BC0.
None of the above
4.Which bit is used to indicate the sign of an eight-bit signed number? D0
D6
D7
D1
5.In the following program, the maximum number of iterations is limited to _________.
L1 CLRA
NOP
NOP
DECB
BNE L1 255
100
0x200
0x99
6.Which of the following data types should be used for the number of days in a month? int
unsigned char
char
signed char
7.Assume that PORTB has a value of 0x09. Which of the following gives us an ASCII digit for 1.What addressing mode is used for the instruction, INX? Direct
Indexed
Inherent
Immediate
None of the above
Explanation / Answer
1 Immediate
2
SP Register
3
ANDA #$0F
4 D1
5
NOP
6
char
7
PORTB = PORTB | 0x03;
8
0x39
9
PORTB = 0x05
10
0x0F
Please rate good !!!1
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.