an assembly language program that reads a specified number of positive integer inputs from standard input and outputs the largest value that was read. For example, if standard input contains: 5 3 2 7 9 4
Write an assembly language
5 3 2 7 9 4
The 5 indicates that there will be 5 additional values. Then program should read those 5 additional values and print the largest of them (e.g 9 in this case). One strategy here would be to outline the program in high-level language code and then translate it into assembly code. Be sure to assemble, run and test your program to ensure that it is syntactically correct and that it works correctly. The program should work for any valid input not just the one shown above.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps