Advanced Embedded Systems Question:
Download Job Interview Questions and Answers PDF
Explain me can single bit of a port be accessed in 8051?
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.
☛ 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 Interview Questions And Answers
PDF
Previous Question | Next Question |
Please explain DB? | List out some of the commonly found errors in Embedded Systems? |