If you have free gates in an IC using them for a circuit instead of adding another IC, like an XOR, saves money and board space in a design. A useful design tool is the Karnaugh Map developed by ...