© 2000 Scenix Semiconductor, Inc. All rights reserved. 83 SX User’s Manual Rev. 3.1 www.scenix.com Chapter 3 Instruction Set 3.6.15    INCSZ fr Increment fr and Skip if Zero Operation: fr = fr + 1 if 0, then skip next instruction Bits affected: none Opcode: 0011 111f ffff Description: This instruction increments the specified register file by one and tests the new reg-
ister value. If that value is zero, the next program instruction is skipped. Otherwise,
execution proceeds normally with the next instruction.
Cycles: 1 if tested condition is false, 2 if tested condition is true Example: incsz $18 jmp back1 mov $17,W The  “incsz”  instruction  increments  file  register  18h.  If  the  result  is  nonzero,
execution proceeds normally with the “jmp” instruction. If the result is zero, the
device skips the “jmp” instruction and proceeds with the “mov” instruction.