AND means that both bits need to be SET for the resultant bit to be set, so your first scenario is correct. John R