how to program port "p0" to turn on a led connected to its third pin (p0.2) by using binary number as follows?
mov p1,#11000000B
p.s :- I can't understand how to access the exact pins by the above method and that is why I'm asking this question. I can do this by bit addressable method.
mov p1,#11000000B
p.s :- I can't understand how to access the exact pins by the above method and that is why I'm asking this question. I can do this by bit addressable method.