This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Grouping Bits Together

To declare the whole I/O port, I use sfr. To declare individual bits, I use sbit. How do I declare a variable that contains only a few bits like port0^0, port0^1, and port0^2. I want my variable to be 3 bit long...

0