Quote Originally Posted by Joe Rocci View Post
....I should have explained that the routine is entered with the current input bit in SR8, bit 0.
Joe
no need Joe, that bit was very obvious.

Can I ask you again (at the risk of receiving more needless sarcasm ?), how many bits do you need to access, and how often ? Is your only interest in the first and last bit, or just even the last bit which is being output. Or when you specified a 1000 tap shifter was it because you need random access to the contents of every tap at all times ? I can think of as many times I would need access to all bits, as I can think of times I might only be interested in every 100th bit (sample rate dependent)

How many program variables will you need to do your processing with (do you have enough if you have all those bytes tied up us a shift register ? As has been pointed out, the 18F parts are much more user friendly where memory addressing is concerned, and you can write program space and use your data space for program variables. If you aren't going to do any processing within the pic but just have it rotate a 1,000 bit buffer endlessly yoiu probably have enough memory and have probably written the near ideal solution (in terms of processing time at least )already.

Good luck
Chris