PIC16C5X 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 : 3Cf

Bit field:
0011 11df ffff

Words : 1

Cycles : 1(2)

Affected flags :None

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