9-198 PPC405 Core User’s Manual
xor
XOR
xor
XOR
(RA) ← (RS) ⊕ (RB)
The contents of register RS are XORed with the contents of register RB; the result is placed into
register RA.
Registers Altered
• CR[CR0]
LT, GT, EQ, SO
if Rc contains 1
•RA
Architecture Note
This instruction part of the IBM PowerPC Embedded Operating Environment.
xor RA, RS, RB Rc=0
xor. RA, RS, RB Rc=1
31 RS RA RB 316 Rc
0 6 11 16 21 31