Instructions by Category B-27
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]
subi RT, RA, IM Subtract EXTS(IM) from (RA|0).
Place result in RT.
Extended mnemonic for
addi RT,RA,−IM
9-9
subic RT, RA, IM Subtract EXTS(IM) from (RA).
Place result in RT.
Place carry-out in XER[CA].
Extended mnemonic for
addic RT,RA,−IM
9-10
subic. RT, RA, IM Subtract EXTS(IM) from (RA).
Place result in RT.
Place carry-out in XER[CA].
Extended mnemonic for
addic. RT,RA,−IM
CR[CR0] 9-11
subis RT, RA, IM Subtract (IM
||
16
0) from (RA|0).
Place result in RT.
Extended mnemonic for
addis RT,RA,−IM
9-12
Table B-5. Extended Mnemonics for PPC405 (continued)
Mnemonic Operands Function
Other Registers
Changed Page