Pergunta de entrevista da empresa onsemi

How do you write and read bitmasks.