Datalab--bit operations