Question: Write a function SortDescending in assembly language that will take two values in R4 and R5 as inputs, and store the larger value in R4
Write a function SortDescending in assembly language that will take two values in R4 and R5 as inputs, and store the larger value in R4 and the smaller one in R5 when called. If you need to use other CPU registers, restore their content such that the calling function does not notice any changes.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
