PIC16CXX 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 : 03ff

Bit field:
00 0011 dfff ffff

Words : 1

Cycles : 1

Affected flags : Zero

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