Question: Write a 32 bit pseudo-random number generator function, using a 32 bit LFSR (Linear Feedback Shift Register)-see: https:/len.wikipedia org/wiki/Linear-feedback shift register Animated graphic illustrating a

Write a 32 bit pseudo-random number generator function, using a 32 bit LFSR (Linear Feedback Shift Register)-see: https:/len.wikipedia org/wiki/Linear-feedback shift register Animated graphic illustrating a 4 bit LFSR: function prototype: unsigned long Ifsr32 (unsigned long seed) // it argument seed-=0 it returns the next 32 bit Value in the sequence I if argument seed !0 it is used as the initial "seed" value You must write the function in C first, and then write your own COMMENTED assembly language version that is 'different than the code generated by a compiler. Note that one bit shift generates one bit and 32 NEW bits must be generated for return to the caller each time the function is called. You must write main in C that calls the ARM/AVRIA32-x86 assembly lfsr function and displays the first twenty 32 bit values generated when starting with a seed value of 0x5AA5FF00. The function they write should use the following taps: 32 30 26 and 25 This selection of taps for the LFSR generates a maximum length pseudorandom sequence 4294967296 bits long or 4294967296/32 134217728 pseudorandom 32 bit numbers. You may use Wikipedia and other resources for reference, but you must come up with your own unique and original assembly language solution, and you may NOT submit code generated by a compiler or copy from any other source You must submit a document of type doc docx or pdf containing a description of your code, ALL the C and assembly source code pasted into the document, as well as a screen shot of the output of your program. You must also submit separate files containing the C and assembly source les so hat we can reproduce our results. The code can be compiled and de mons at si either eclipse or ode s, rathe command line using the gec compiler. Please include all the required files separately (not in a zip, tar or other compressed form) using the link above. You may re-submit if necessary, but include all the required files when you resubmit. Write a 32 bit pseudo-random number generator function, using a 32 bit LFSR (Linear Feedback Shift Register)-see: https:/len.wikipedia org/wiki/Linear-feedback shift register Animated graphic illustrating a 4 bit LFSR: function prototype: unsigned long Ifsr32 (unsigned long seed) // it argument seed-=0 it returns the next 32 bit Value in the sequence I if argument seed !0 it is used as the initial "seed" value You must write the function in C first, and then write your own COMMENTED assembly language version that is 'different than the code generated by a compiler. Note that one bit shift generates one bit and 32 NEW bits must be generated for return to the caller each time the function is called. You must write main in C that calls the ARM/AVRIA32-x86 assembly lfsr function and displays the first twenty 32 bit values generated when starting with a seed value of 0x5AA5FF00. The function they write should use the following taps: 32 30 26 and 25 This selection of taps for the LFSR generates a maximum length pseudorandom sequence 4294967296 bits long or 4294967296/32 134217728 pseudorandom 32 bit numbers. You may use Wikipedia and other resources for reference, but you must come up with your own unique and original assembly language solution, and you may NOT submit code generated by a compiler or copy from any other source You must submit a document of type doc docx or pdf containing a description of your code, ALL the C and assembly source code pasted into the document, as well as a screen shot of the output of your program. You must also submit separate files containing the C and assembly source les so hat we can reproduce our results. The code can be compiled and de mons at si either eclipse or ode s, rathe command line using the gec compiler. Please include all the required files separately (not in a zip, tar or other compressed form) using the link above. You may re-submit if necessary, but include all the required files when you resubmit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
