Bit functions are provided in the libraries

LIB/bit_lib.bas


 
Bit Function Description  
set_bit set a bit
reset_bit reset a bit
test_bit test a bit