Tony Smith wrote: > The problem with the rotate & carry routines is they repeat, eg after 65k > operations (16 bit register). Tony: That property is hardly unique to LFSRs. Since pseudo-random number generators are deterministic algorithms run on deterministic machines with finite memory, they ALL repeat. -Andrew === Andrew Warren - fastfwd@ix.netcom.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist