Question: Write a program in 32-bit x86 Assembly language that fills an array of ten locations with numbers entered by the user. The program then sorts

Write a program in 32-bit x86 Assembly language that fills an array of ten locations with numbers entered by the user. The program then sorts the array so that smaller numbers are pushed to the top (smaller index locations) and print the whole array to the screen. The program then encrypts each number of the array with the following encryption algorithm using the decimal number 99 n as the key. It prompts the user to enter any index less than 10. It should then run decryption procedure to decrypt the number at that location and display the original number on the screen.

Encryption Scheme: Rotate right each character by 2 bits then perform XOR with the key.

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!