neg
Negate
PPC440x5 CPU Core User's Manual
neg
Negate
neg
RT, RA
neg.
RT, RA
nego
RT, RA
nego.
RT, RA
31
0
6
(RT)
(RA) + 1
The twos complement of the contents of register RA are placed into register RT.
Registers Altered
• RT
• CR[CR0] if Rc contains 1
• XER[SO, OV] if OE=1
Invalid Instruction Forms
• Reserved fields
Page 384 of 589
OE=0, Rc=0
OE=0, Rc=1
OE=1, Rc=0
OE=1, Rc=1
RT
RA
11
OE
16
21 22
Preliminary
104
Rc
31
instrset.fm.
September 12, 2002