Question: 7. Write a Hmmm assembly-language program that gets two positive integers from the user, subtracts the second integer from the first,and writes out the square

 7. Write a Hmmm assembly-language program that gets two positive integers

7. Write a Hmmm assembly-language program that gets two positive integers from the user, subtracts the second integer from the first,and writes out the square of the result. 8. Write a Hmmm assembly-language program that uses a loop that allows the user to enter one or more integers. When the user enters a zero, the program should stop looping and write out two counts: how many of the numbers were positive, and how many were negative. Don't count the zero. 9. Write a Hmmm assembly language program that takes in a positive integer as input and calls a separate function that many times. The function should simply write out the number 111. You must use call and jumpr instructions to implement your function

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!