AND

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.

 

AND        fr,#literal        AND literal into fr


 

Words:        2        Cycles:        2                Affects:        W, Z

 

Operation:        Literal is AND’d into fr via W. Z will be set if the result is 0; otherwise, Z will be cleared.

 

Coding:        MOV  W,#lit   (MOVLW  lit)

       AND  fr,W     (ANDWF  fr,1)

 

 

AND        fr1,fr2                AND fr2 into fr1


Words:        2        Cycles:        2                Affects:        W, Z

 

Operation:        Fr2 is AND’d into fr1 via W. Z will be set if the result is 0; otherwise, Z will be cleared.

 

Coding:        MOV  W,fr2   (MOVF   fr2,0)

       AND  fr1,W   (ANDWF  fr1,1)

 

 

AND        fr,W                AND W into fr


Words:        1        Cycles:        1                Affects:        Z

 

Operation:        W is AND’d into fr. Z will be set if the result is 0; otherwise, Z will be cleared.

 

Coding:        ANDWF fr,1

 

 

AND        W,#literal        AND literal into W


Words:        1        Cycles:        1                Affects:        Z

 

 

Operation:        Literal is AND’d into W. Z will be set to 1 if the result was 0, otherwise Z will be cleared to 0.

 

Coding:        ANDLW        literal

 

 

AND        W,fr                AND fr into W into fr


Words:        1        Cycles:        1                Affects:        Z

 

Operation:        Fr is AND’d into W. Z will be set to 1 if the result was 0, otherwise Z will be cleared to 0.

 

Coding:        ANDWF        fr,0