Question: IN MIPS Write a function that computes the next state of a linear feedback shift register (LFSR) given the current state of the LFSR. The

IN MIPS Write a function that computes the next state of a linear feedback shift register (LFSR) given the current state of the LFSR. The LFSR should satisfy the taps given by the following polynomial:

^20 + ^19 + ^16 + ^14 + 1

Your function should take the state as a 32-bit input parameter and return a 32-bit output value. Your main program for the function should call your LFSR function for the following input states and print the output state: (AGAIN DO IT IN MIPS)

0x00000001

0xdeadbeef

0x200214c8

0x00000000

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!