PIC16C5X Instruction Set


DECF


Syntax : DECF f,d

Description : Decrements register 'f'.
              If 'd' is 0 the result is stored in the W register.
              If 'd' is 1 the result is stored back in register 'f'.

Function : f - 1 → d

Hex code : 0Cf

Bit field:
0000 11df ffff

Words : 1

Cycles : 1

Affected flags : Zero

See also :   DECFSZ,   INCF,   INCFSZ
Previous    Upper level    Next