CJA, CJAE

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.

 

CJA        fr,#literal,addr9        Compare fr to literal and jump if above


Words:        4        Cycles:        4 or 5 (jump)        Affects:        C, DC, Z

 

Operation:        Fr is compared to literal via W. If fr is greater than literal, a jump to addr9 is executed.

 

Coding:        MOVLW                literal^0FFh

       ADDWF                fr,0

       BTFSC                3,0

       GOTO                addr9

 

 

CJA        fr1,fr2,addr9        Compare fr1 to fr2 and jump if above


Words:        4        Cycles:        4 or 5 (jump)        Affects:        W, C, DC, Z

 

Operation:        Fr1 is compared to fr2 via W. If fr1 is greater than fr2, a jump to addr9 is executed.

 

Coding:        MOVF                fr1,0

       SUBWF                fr2,0

       BTFSS                3,0

       GOTO                addr9        

 

 

CJAE        fr,#literal,addr9    Compare fr to literal and jump if above or equal


Words:        4        Cycles:        4 or 5 (jump)        Affects:        C, DC, Z

 

Operation:        Fr is compared to literal via W. If fr is greater than or equal to literal, a jump to addr9 is executed.

 

Coding:        MOVLW                literal

       SUBWF                fr,0

       BTFSC                3,0

       GOTO                addr9

 

 

CJAE        fr1,fr2,addr9        Compare fr1 to fr2 and jump if above or equal


Words:        4        Cycles:        4 or 5 (jump)        Affects:        C, DC, Z

 

Operation:        Fr1 is compared to fr2 via W. If fr1 is greater than or equal to fr2, a jump to addr9 is executed.

 

Coding:        MOVF                fr2,0

       SUBWF                fr1,0

       BTFSC                3,0

       GOTO                addr9