subfic
Subtract From Immediate Carrying
PPC440x5 CPU Core User’s Manual Preliminary
Page 432 of 589
instrset.fm.
September 12, 2002
subfic
Subtract From Immediate Carrying
(RT) ←¬(RA) + EXTS(IM) + 1
if
¬(RA) + EXTS(IM) + 1 2
32
– 1 then
XER[CA]
← 1
else
XER[CA]
← 0
The sum of the ones complement of RA, the IM field sign-extended to 32 bits, and 1 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]
subfic RT, RA, IM
8RTRA IM
0 6 11 16 31
>
u