EasyManua.ls Logo

AMCC PPC405 - Page 285

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...
AMCC Proprietary 285
Revision 1.02 - September 10, 2007
PPC405 Processor
neg
Negate
Preliminary User’s Manual
neg
Negate
(RT) ←¬(RA) + 1
The twos complement of the contents of register RA are placed into register RT.
Registers Altered
•RT
CR[CR0]
LT, GT, EQ, SO
if Rc contains 1
XER[SO, OV] if OE=1
Invalid Instruction Forms
Reserved fields
Architecture Note
This instruction is part of the PowerPC User Instruction Set Architecture.
neg RT, RA OE=0, Rc=0
neg. RT, RA OE=0, Rc=1
nego RT, RA OE=1, Rc=0
nego. RT, RA OE=1, Rc=1
31 RT RA
OE 104 Rc
0 6 11 16 21 22 31

Table of Contents