switched r1 r2 registers