MOVSZ

NOTE: These items have been discontinued for a long time.
We no longer support these products or offer alternatives.

We retain these pages so that users can see what their existing tools support and to provide download links to the final documentation and software versions. We have a few replacement parts left, but not many. Available items have an 'ADD to CART' or 'Buy Now' button next to them. Otherwise they are not available.

logo has a few items in stock as well.

 

MOVSZ        W,++fr     Move the incremented value of fr into W and skip if zero


Words:        1        Cycles:        1 or 2 (skip)        Affects:        none

 

Operation:        The incremented value of fr is moved into W. The next instruction word will be skipped if the result was 0.

 

Coding:        INCFSZ        fr,0

 

Note:        Only one word is skipped by this instruction. To avoid strange results, make sure that any instruction following MOVSZ is a single-word instruction.

 

 

MOVSZ        W,--fr     Move the decremented value of fr into W and skip if zero


Words:        1        Cycles:        1 or 2 (skip)        Affects:        none

 

Operation:        The decremented value of fr is moved into W. The next instruction word will be skipped if the result was 0.

 

Coding:        DECFSZ        fr,0

 

Note:        Only one word is skipped by this instruction. To avoid strange results, make sure that any instruction following MOVSZ is a single-word instruction.