JNB, JNC

 

JNB        bit,addr9        Jump if not bit


Words:        2        Cycles:        2 or 3 (jump)        Affects:        none

 

Operation:        If bit reads 0, a jump to addr9 is executed.

 

Coding:        BTFSS                bit

       GOTO                addr9

 

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

 

 

JNC        addr9        Jump if not carry


Words:        2        Cycles:        2 or 3 (jump)        Affects:        none

 

Operation:        If C is 0, a jump to addr9 is executed.

 

Coding:        BTFSS                3,0

       GOTO                addr9