addme
Add to Minus One Extended
PPC440x5 CPU Core User's Manual
addme
Add to Minus One Extended
addme
RT, RA
addme.
RT, RA
addmeo
RT, RA
addmeo.
RT, RA
31
0
6
(RT)
(RA) + XER[CA] + (–1)
if (RA) + XER[CA] + 0xFFFF FFFF
XER[CA]
1
else
XER[CA]
0
The sum of the contents of register RA, XER[CA], and –1 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
Invalid Instruction Forms
• Reserved fields
Page 262 of 589
OE= 0, Rc= 0
OE= 0, Rc= 1
OE=1, Rc= 0
OE =1, Rc=1
RT
RA
11
32
u
2
– 1 then
>
OE
16
21 22
Preliminary
234
Rc
31
instrset.fm.
September 12, 2002