Which of the following instruction will move the number 27H in the accumulator? ( )
A. MOV A, 27
B. MOV A, #27H
C. MOV A, 27H
D. MOV A, @27
查看答案
Which of the following is invalid instruction? ( )
A. MOVX R0, @DPTR
B. MOVC A, @A+PC
C. XCH A, 10H
D. XCH A, @R1
Which of the following instructions is an example for the direct addressing mode? ( )
A. MOV A, @R0
B. MOV R0, #10H
C. MOV 10H, A
D. MOV R5, A
Addition instruction of the 8051 can affect, ( )
A. carry flag
B. auxiliary carry flag
C. overflow flag
D. parity flag
The contents of the accumulator after execution of following instructions will be( ) MOV A, #0FH ANL A, #2CH
A. 11010111B
B. 11011010B
C. 00001100B
D. 00101000B