9-6 PPC405 Core User’s Manual
add
Add
9.Instruction Setadd
Add
(RT) ← (RA) + (RB)
The sum of the contents of register RA and the contents of register RB is placed into register RT.
Registers Altered
•RT
• CR[CR0]
LT, GT, EQ, SO
if Rc contains 1
• XER[SO, OV] if OE contains 1
Architecture Note
This instruction is part of the PowerPC User Instruction Set Architecture.
add
RT, RA, RB
OE= 0, Rc= 0
add.
RT, RA, RB
OE= 0, Rc= 1
addo
RT, RA, RB
OE= 1, Rc= 0
addo.
RT, RA, RB
OE= 1, Rc= 1
31 RT RA RB OE 266 Rc
0 6 11 16 21 22 31