PIC17CXX 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 : 06ff

Bit field:
0000 011d ffff ffff

Words : 1

Cycles : 1

Affected flags : OV, C, DC, Z

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