© 2000 Scenix Semiconductor, Inc. All rights reserved.
SX Users Manual Rev. 3.1
Chapter 3 Instruction Set
3.6.15 INCSZ fr
Increment fr and Skip if Zero
fr = fr + 1
if 0, then skip next instruction
0011 111f ffff
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.
1 if tested condition is false, 2 if tested condition is true
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.