EasyManua.ls Logo

AMCC PPC405 - Page 162

Default Icon
450 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
162 AMCC Proprietary
Revision 1.02 - September 10, 2007
PPC405 Processor
addc
Add Carrying
Preliminary User’s Manual
addc
Add Carrying
(RT) (RA) + (RB)
if (RA) + (RB) 2
32
– 1 then
XER[CA]
1
else
XER[CA]
0
The sum of the contents of register RA and register RB 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]
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.
addc RT, RA, RB OE= 0, Rc= 0
addc. RT, RA, RB OE= 0, Rc= 1
addco RT, RA, RB OE= 1, Rc= 0
addco. RT, RA, RB OE= 1, Rc= 1
31 RT RA RB OE 10 Rc
0 6 11 16 21 22 31
>
u

Table of Contents