A few unsigned integers are stored from the location 31H onwards of the internal data memory area.
Arrange these integers in ascending order. e number of terms of the array is available in the location 30H.
Store the arranged integers from 31H itself.
Solution
e term ascending order means larger number should be in higher address and smaller number in lower
address. In MCS-51, generally higher addresses are shown at the top with respect to the lower addresses.
However, for the sake of easier understanding, in the following three illustrations, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.