Define an array of 16 32-bit words in your assembly program then initialize them
ID: 3691729 • Letter: D
Question
Define an array of 16 32-bit words in your assembly program then initialize them with any value. Next write a main program that passes the address if this array in any variable register and it's length in any argument register before it calls the routine. Then Write a subroutine that searches for the smallest and highest number in the list and passes them back using correct argument registers (left to the student to decide). The in the main, it should take those passed 2 values and store them appropriately (needs to decide on the data storage in advance in the main).. The subroutine should not change any other general purpose registers it uses inside?
Explanation / Answer
program :
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.