Instruction Set 9-179
subfic
Subtract From Immediate Carrying
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]
Architecture Note
This instruction is part of the PowerPC User Instruction Set Architecture.
subfic RT, RA, IM
8RTRA IM
0 6 11 16 31
>
u