MOVB

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.

 

MOVB         bit1,bit2        Move bit2 to bit1


Words:        4        Cycles:        4                Affects:        none

 

Operation:        Bit2 is moved to bit1.

 

Coding:        BTFSS        bit2

       BCF                bit1

       BTFSC        bit2

       BSF                bit1

 

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

 

 

MOVB        bit1,/bit2        Move not bit2 to bit1


Words:        4        Cycles:        4                Affects:        none

 

Operation:        The complement of bit2 is moved to bit1.

 

Coding:        BTFSC        bit2

       BCF                bit1

       BTFSS        bit2

       BSF                bit1

 

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