I'm working with a PIC18F4520. My question is less how to make my code work but a clarification on an instruction.
I wanted to shift my value to the right twice to divide by 4, but the only function I'm finding is the Rotate w/ or w/out carry. This does not seem of offer what I'm looking for as it puts the LSB back in the reg as the MSB.
Can someone tell me if I correct in my understand?
I truly hope that I'm wrong.
Thanks
I wanted to shift my value to the right twice to divide by 4, but the only function I'm finding is the Rotate w/ or w/out carry. This does not seem of offer what I'm looking for as it puts the LSB back in the reg as the MSB.
Can someone tell me if I correct in my understand?
I truly hope that I'm wrong.
Thanks