Assume that a CPU has only two registers R1 and R2 and that only the following instruction is available XORRi,Rj;{Rj←Ri⊕Rj, for i,j=1,2}
Using this XOR instruction, find an instruction sequence in order to exchange the contents of the registers R1 and R2