Question: in assembly : Write a function to implement an 8 - bit LFSR - based pseudo - random number generator. The function should take the

in assembly : Write a function to implement an 8-bit LFSR-based pseudo-random
number generator. The function should take the feedback polynomial
and the seed as parameters in registers $a0 and $a1, respectively,
and it should generate a random number in register $v0.
Note: use the code on the right to test your function.
Two important characteristics of an LFSR are the Feedback
Polynomial, which determines the flip-flops (FFs) that are XORed to
compute the shifted bit, and the seed which determines the initial
content of the FFs. Depending on the Feedback polynomial, the LFSR
can generate a maximal-length sequence without repetition, or it
may not. The seed can be any number other than 0.
The Feedback polynomial for the LFSR shown can be represented as
Note that 1 indicates that there is feedback connection,
while 0 indicates that there is no feedback connection.
 in assembly : Write a function to implement an 8-bit LFSR-based

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!