Question: 8. The following method can be used to generate random numbers in the range 1 - 32767. Start with any number in this range. Shift

8. The following method can be used to generate random numbers in the range 1 - 32767. Start with any number in this range. Shift left once. Replace bit 0 by the XOR of bits 14 and 15. Clear bit 15. Write a procedure RANDOM that receives a number in AX and returns a random number in AX. 

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!