Which instruction is used to check the status of a single bit?
A. MOV A,P0
B. ADD A,#05H
C. JNB PO.0, label
D. CLR P0.05H
Answer:A
Which instruction is used to check the status of a single bit?
A. MOV A,P0 B. ADD A,#05H C. JNB PO.0, label D. CLR P0.05H
Explanation: JNB which stands for Jump if no bit checks the status of the bit P0.0 and jumps if the bit is 0.