add
Add
Preliminary PPC440x5 CPU Core User’s Manual
instrset.fm.
September 12, 2002 Page 255 of 589
add
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] if Rc contains 1
• XER[SO, OV] if OE contains 1
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