The contents of accumulator, R1 and RAM location 40H are F0H, 40H, and 0FH respectively. After execution of an instruction “XCHD A, @R1”, the contents of A will be( )
A. 00H
B. F0H
C. 0FH
D. FFH
查看答案
The contents of accumulator and CY are FEH and 1 respectively. After execution of instruction “RR A”, the contents of A will be ( )
A. FCH
B. 7FH
C. F1H
D. FDH
After execution of following two instructions “MOV A, #0FH” and “ANL A, #2CH”, the contents of the accumulator will be ( )
A. 11010111B
B. 11011010B
C. 00001100B
D. 00101000B
Which of the following statements will add the accumulator with register R0?( )
ADD @R0, A
B. ADD A, @R0
C. ADD R0, A
D. ADD A, R0
To complement the A, we must exclusive OR() it with( )
A. 7FH
B. 80H
C. FEH
D. FFH