Description
Semester: V
Experiment No. 6: Sorting
6 a) Sorting in ascending order
Input: Array of N 8-bit values
Output: Sorted array in the same location
Hints:
Perform bubble sort.
Use XCHG instruction to swap elements.
6 b) Sorting in descending order
Input: Array of N 8-bit values
Output: Sorted array in the same location
Hints:
Perform bubble sort.
Use XCHG instruction to swap elements.




Reviews
There are no reviews yet.