The 8051 Microcontroller - Technical MCQs

Q1:

The following program will receive data from port 1, determine whether bit 2 is high, and then send the number FFH to port 3:
READ: MOV A,P1
ANL A,#2H
CJNE A,#02H,READ
MOV P3,#FFH

A True

B False

ANS:A - True

No answer description is available.