PIC17CXX Instruction Set


DCFSNZ


Syntax : DCFSNZ 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'.
							
              If the result is not 0, the next instruction is skipped.
              If the result is not 0, the next instruction, which is
              already fetched, is discarded. A NOP is executed instead,
              making it a two cycles instruction.

Function : f - 1 → d; skip next if result ≠ 0

Hex code : 26ff

Bit field:
0010 011d ffff ffff

Words : 1

Cycles : 1(2)

Affected flags :None

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