Implement XOR instructions