problem 1 write a program that will generate an


Problem 1. Write a program that will generate an array of 10 random 32-bit integers, and that will show on the monitor the numbers followed by either the words " has the fourth bit set " or "does not have the fourth bit set". Use the test instruction to test whether the bit is set or not. Note: The fourth bit from the least significant end.

Problem 2. Prepare a program that will input a number from the keyboard, and then show the number in binary form, as well as the number of one's in the number. Hint: Shift the value left or right and count the number of times the carry bit is set.

Problem 3. Write a program that will input 2 numbers from the keyboard and execute each of the signed and unsigned multiply and divide instructions. For every instruction, the program should show output that clearly shows the result of the instructions. Test and submit with data that shows the use of the edx register and the results with combinations of positive and negative values. Note that it is useful to use small negative numbers to create large unsigned values.

Request for Solution File

Ask an Expert for Answer!!
Application Programming: problem 1 write a program that will generate an
Reference No:- TGS0443346

Expected delivery within 24 Hours