PIC17CXX Instruction Set


INCFSZ


Syntax : INCFSZ f,d

Description : Increments 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 0 the next instruction is skipped.
              If the result is 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 : 1Eff

Bit field:
0001 111d ffff ffff

Words : 1

Cycles : 1(2)

Affected flags :None

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