- #1
Magna Visus
- 24
- 0
Hello guys!
The following question is related to the P18F2520 series.
Suppose you have 2 defined variables var1 and var2 each containing 8 bits from a certain source.
However I only need the 4 least significant bits from var1 and the 4 most significant bit from var 2 in order to fill up a new variable var3.
Any clue how to do this? (I need a command analogue to MOVFF but regarding moving single bits)
Thank you!
The following question is related to the P18F2520 series.
Suppose you have 2 defined variables var1 and var2 each containing 8 bits from a certain source.
However I only need the 4 least significant bits from var1 and the 4 most significant bit from var 2 in order to fill up a new variable var3.
Any clue how to do this? (I need a command analogue to MOVFF but regarding moving single bits)
Thank you!