arhi
Member
bananasiong said:Yes, there're instructions for rotating the register in asm. But this is the discussion about C.
For PIC16F, rrf and rlf.
For PIC18F, rrcf, rrncf, rlcf, rlncf which have taken care of the carry bit.
yup, I use C 99.9% of time but I was thinking more in course of
Code:
...
while(1){
...
asm('rrf PORTD,1');
...
}