AND to test a bit · OR to set it · XOR to flip it · NOT to invert · packing 8 booleans into one byte.All concepts grounded in real reverse engineering — specifically the Minesweeper cell byte.