Quote Originally Posted by richard View Post
[COLOR="#00FF00"]bit_byte1 var byte
mybit0 var Bit
mybit1 var Bit


I think uses 2 bytes .
Not necessarily. Compiler makes best use of memory and packs the bits in bytes when possible.

So if you declare the above bit variable, they are going to be in one byte. The ninth bit will be in new byte location.

Ioannis