adde
Add Extended
Preliminary PPC440x5 CPU Core User’s Manual
instrset.fm.
September 12, 2002 Page 257 of 589
adde
Add Extended
(RT) ← (RA) + (RB) + XER[CA]
if (RA) + (RB) + XER[CA] 2
32
– 1 then
XER[CA]
← 1
else
XER[CA]
← 0
The sum of the contents of register RA, register RB, and XER[CA] is placed into register RT.
XER[CA] is set to a value determined by the unsigned magnitude of the result of the add operation.
Registers Altered
•RT
• XER[CA]
• CR[CR0] if Rc contains 1
• XER[SO, OV] if OE contains 1
adde RT, RA, RB OE= 0, Rc= 0
adde. RT, RA, RB OE= 0, Rc= 1
addeo RT, RA, RB OE= 1, Rc= 0
addeo. RT, RA, RB OE =1, Rc=1
31 RT RA RB OE 138 Rc
0 6 11 16 21 22 31
>
u