Consider an array of five numbers N1, N2, N3, N4, and N5 and write an Intel x86
Fantastic news! We've Found the answer you've been seeking!
Question:
Consider an array of five numbers N1, N2, N3, N4, and N5 and write an Intel x86 Assembly Language program to perform the following:
(i) Find the maximum and minimum numbers among the given numbers
(ii) Arrange the given numbers in ascending order
(iii) Arrange the given numbers in descending order
Show all the necessary steps of the algorithm whichever you are using (in hand-written form) to write the program. Use the following formulae to calculate five numbers.
N1 = (a 3) + ((c d) + 5)
N2 = N1 + a + d
N3 = (N2 2) + a + b
N4 = d + a + 11
N5 = N1 a
Where a, b, c, d are four digits, which can be calculated by using the following formula. abcd =2020 + 085
Posted Date: