Advanced Embedded Systems Question: Download Advanced Embedded Systems PDF

Explain me can single bit of a port be accessed in 8051?

Tweet Share WhatsApp

Answer:

☛ 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.

Download Advanced Embedded Systems PDF Read All 76 Advanced Embedded Systems Questions
Previous QuestionNext Question
Please explain DB?List out some of the commonly found errors in Embedded Systems?