Exercise: The 8051 Microcontroller

Questions for: The 8051 Microcontroller

Which of the following commands will copy the contents of RAM whose address is in register 0 to port 1?
A:
MOV @ P1, R0
B:
MOV @ R0, P1
C:
MOV P1, @ R0
D:
MOV P1, R0
Answer: C
No answer description is available. Let's discuss.
The following program will cause the 8051 to be stuck in a loop:
LOOP: MOV A, #00H
 JNZ LOOP
A:
True
B:
False
C:
D:
Answer: B
No answer description is available. Let's discuss.
The contents of the accumulator after this operation
MOV A,#2BH
ORL A,00H
will be:
A:
1B H
B:
2B H
C:
3B H
D:
4B H
Answer: B
No answer description is available. Let's discuss.
The special function registers can be referred to by their hex addresses or by their register names.
A:
True
B:
False
C:
D:
Answer: A
No answer description is available. Let's discuss.
The following command will copy the accumulator to the location whose address is 23H:
MOV 23H,A
A:
True
B:
False
C:
D:
Answer: A
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz