Folks, I have a very long data string that I want to shift in, to the tune of 90 or more bits. I want to shift the data in (or if possible use a pointer to a bit with increment) in C. (You assy folks sit back down, I know it is fairly easy). I can implement longs and use the left shift operator, but how can I avoid carrying the one bit with a pack of code just for that purpose? If I just do a bunch of rotates, I think C will start with a 0 in carry for the roll operation every time. Any grand ideas? Chris Eddy -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]: PIC only [EE]: engineering [OT]: off topic [AD]: advertisements