Question: In MIPS please Problem # 2 ( 2 0 pts ) Write a new program using your LFSR function from the first problem. Start from

In MIPS please Problem #2(20 pts)
Write a new program using your LFSR function from the first problem. Start from state 0x00000001,
then run a loop counting all the possible states in the LFSR before it cycles back to 0x00000001. This is
shown by the following pseudocitde:
count =0;
initial =state =0x00000001
do {
state = LFSR(state);
count++;
while (state != initial);
print count;
Verify that the number of states is 215-1=32,767. Your program should complete within 30 seconds.
If it takes longer then you likely have entered an infinite loop.
In MIPS please Problem # 2 ( 2 0 pts ) Write a

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 Programming Questions!