IBM PPC440X5 Computer Hardware User Manual


 
User’s Manual
PPC440x5 CPU Core Preliminary
Page 552 of 589
instalfa.fm.
September 12, 2002
sub
RT, RA, RB
Subtract (RB) from (RA).
(RT) ←¬(RB) + (RA) + 1.
Extended mnemonic for
subf RT,RB,RA
429
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
430
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.
429
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].
430
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].
431
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].
432
subfme
RT, RA, RB
Subtract (RA) from (–1) with carry-in.
(RT) ←¬(RA) + (–1) + XER[CA].
Place carry-out in XER[CA].
433
subfme.
CR[CR0]
subfmeo
XER[SO, OV]
subfmeo.
CR[CR0]
XER[SO, OV]
Table A-1. PPC440x5 Instruction Syntax Summary (continued)
Mnemonic Operands Function
Other Registers
Changed
Page