⟩ Explain me can single bit of a port be accessed in 8051?
☛ Yes, 8051 has the capability of accessing only single bit of a port.
☛ Here only single bit is accessed and rest are unaltered.
Syntax: “SETB X. Y”.
☛ Here X is the port number and y is the desired bit.
Example: SETB P1.2
Here the second bit of port 1 is set to 1.