A-28 PPC405 Core User’s Manual
stwux RS, RA, RB Store word (RS) in memory at
EA = (RA|0) + (RB).
Update the base address,
(RA)
← EA.
9-174
stwx RS, RA, RB Store word (RS) in memory at
EA = (RA|0) + (RB).
9-175
sub RT, RA, RB Subtract (RB) from (RA).
(RT)
←¬(RB) + (RA) + 1.
Extended mnemonic for
subf RT,RB,RA
9-176
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]
subc RT, RA, RB Subtract (RB) from (RA).
(RT)
←¬(RB) + (RA) + 1.
Place carry-out in XER[CA].
Extended mnemonic for
subfc RT,RB,RA
9-177
subc.
Extended mnemonic for
subfc. RT,RB,RA
CR[CR0]
subco
Extended mnemonic for
subfco RT,RB,RA
XER[SO, OV]
subco.
Extended mnemonic for
subfco. RT,RB,RA
CR[CR0]
XER[SO, OV]
subf RT, RA, RB Subtract (RA) from (RB).
(RT)
←¬(RA) + (RB) + 1.
9-176
subf. CR[CR0]
subfo XER[SO, OV]
subfo. CR[CR0]
XER[SO, OV]
subfc RT, RA, RB Subtract (RA) from (RB).
(RT)
←¬(RA) + (RB) + 1.
Place carry-out in XER[CA].
9-177
subfc. CR[CR0]
subfco XER[SO, OV]
subfco. CR[CR0]
XER[SO, OV]
subfe RT, RA, RB Subtract (RA) from (RB) with carry-in.
(RT)
←¬(RA) + (RB) + XER[CA].
Place carry-out in XER[CA].
9-178
subfe. CR[CR0]
subfeo XER[SO, OV]
subfeo. CR[CR0]
XER[SO, OV]
subfic RT, RA, IM Subtract (RA) from EXTS(IM).
(RT)
←¬(RA) + EXTS(IM) + 1.
Place carry-out in XER[CA].
9-179
Table A-1. PPC405 Instruction Syntax Summary (continued)
Mnemonic Operands Function
Other Registers
Changed Page