EasyManua.ls Logo

AMCC PPC405 - Table 9-30. Extended Mnemonics for Subf, Subf., Subfo, Subfo

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 327
Revision 1.02 - September 10, 2007
PPC405 Processor
subf
Subtract From
Preliminary User’s Manual
subf
Subtract Fr om
(RT) ←¬(RA) + (RB) + 1
The sum of the ones complement of register RA, register RB, and 1 is stored into register RT.
Registers Altered
•RT
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.
subf RT, RA, RB OE=0, Rc=0
subf. RT, RA, RB OE=0, Rc=1
subfo RT, RA, RB OE=1, Rc=0
subfo. RT, RA, RB OE=1, Rc=1
31 RT RA RB OE 40 Rc
0 6 11 16 21 22 31
Table 9-30. Extended Mnemonics for subf, subf., subfo, subfo.
Mnemonic Operands Function
Other Registers
Altered
sub
RT, RA, RB
Subtract (RB) from (RA).
(RT)
←¬(RB) + (RA) + 1.
Extended mnemonic for
subf RT,RB,RA
sub.
Extended mnemonic for
subf. RT,RB,RA
CR[CR0]
subo
Extended mnemonic for
subfo RT,RB,RA
XER[SO, OV]
subo.
Extended mnemonic for
subfo. RT,RB,RA
CR[CR0]
XER[SO, OV]

Table of Contents