what is the XOR of 501 and 1001

540