SNB, SNC, SNZ

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.

 

SNB        bit                Skip if not bit


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

 

Operation:        If bit reads 0, the following instruction word is skipped.

 

Coding:        BTFSC                bit

 

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

 

Note:        The TechTools assemblers define a bit as port.bitposition, as in the following examples:

 

       RA.3 = bit 3 of port A        PortB.0 = bit 0 of port B

 

 

SNC                        Skip if not carry


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

 

Operation:        If C is 0, the following instruction word is skipped.

 

Coding:        BTFSC                3,0

 

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

 

 

SNZ                        Skip if not zero


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

 

Operation:        If Z is 0, the following instruction word is skipped.

 

Coding:        BTFSC                3,2

 

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