Linear Feedback Shift Register can be used as a Pseudorandom number generator. This Linear Feedback Shift Register is built for 8051 Microcontroller Architecture .
The first value given to the LFSR is called the seed, the pattern generated by the seed make the generated sequence look as if it was random. However, the same input to the LFSR will always produce the same output.
This code find the masks (XOR gates locations) that generates unique none repeated sequence for any given seed.
