Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 bit LFSRbased pseudorandom
number generator. The function should take the feedback polynomial
and the seed as parameters in registers $ and $ respectively,
and it should generate a random number in register $
Note: use the code on the right to test your function.
Two important characteristics of an LFSR are the Feedback
Polynomial, which determines the flipflops 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 maximallength sequence without repetition, or it
may not. The seed can be any number other than
The Feedback polynomial for the LFSR shown can be represented as
Note that indicates that there is feedback connection,
while indicates that there is no feedback connection.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started