subfc RT,RA,RB (OE=0 Rc=0)
subfc. RT,RA,RB (OE=0 Rc=1)
subfco RT,RA,RB (OE=1 Rc=0)
subfco. RT,RA,RB (OE=1 Rc=1)
31 RT RA RB OE 8 Rc
0 6 11 16 21 22 31
RT <- ¬(RA) + (RB) + 1
The sum ¬(RA) + (RB) + 1 is placed into register RT.
Special Registers Altered:
CA
CR0 (if Rc=1)
SO OV (if OE=1)
Extended Mnemonics:
Example of extended mnemonics for Subtract From
Carrying:
Extended: Equivalent to:
subc Rx,Ry,Rz subfc Rx,Rz,Ry
No comments:
Post a Comment