9-16 PPC405 Core User’s Manual
andc
AND with Complement
andc
AND with Complement
(RA) ← (RS) ∧¬(RB)
The contents of register RS are ANDed with the ones complement of the contents of register RB; the
result is placed into register RA.
Registers Altered
•RA
• CR[CR0]
LT, GT, EQ, SO
if Rc contains 1
Architecture Note
This instruction is part of the PowerPC User Instruction Set Architecture.
andc RA,RS,RB Rc=0
andc. RA,RS,RB Rc=1
31 RS RA RB 60 Rc
0 6 11 16 21 2 31