Preliminary
subfe
Subtract From Extended
subfe
RT, RA, RB
subfe.
RT, RA, RB
subfeo
RT, RA, RB
subfeo.
RT, RA, RB
31
0
6
(RT)
(RA) + (RB) + XER[CA]
if
(RA) + (RB) + XER[CA]
XER[CA]
1
else
XER[CA]
0
The sum of the ones complement of register RA, register RB, and XER[CA] is placed into register RT.
XER[CA] is set to a value determined by the unsigned magnitude of the result of the subtract operation.
Registers Altered
• RT
• XER[CA]
• CR[CR0] if Rc contains 1
• XER[SO, OV] if OE contains 1
instrset.fm.
September 12, 2002
OE=0, Rc=0
OE=0, Rc=1
OE=1, Rc=0
OE=1, Rc=1
RT
RA
11
32
u
2
– 1 then
>
PPC440x5 CPU Core User's Manual
RB
OE
16
21 22
subfe
Subtract From Extended
136
Rc
31
Page 431 of 589