# cpct_bitWeights

> cpct_bitWeights:: .db #0x80, #0x40, #0x20, #0x10, #0x08, #0x04, #0x02, #0x01

Internal array that contains 8 byte-values, each one with 7 bits off and 1 bit on. Each value is designed to be used as a mask for getting one bit from other byte using an AND operation. Hence, the name bitWeights. It is used by cpct_getBit and cpct_setBit functions. mainly.

Returns the status of a given bit into a bitarray (0 or !0)
Sets the value of a concrete bit into a bitarray to 0 or 1
Close