__ASCENDING ORDER__

__AIM:__ To sort the given number in the ascending order using 8085 microprocessor.

__ALGORITHM:__ 1. Get the numbers to be sorted from the memory locations.

2. Compare the first two numbers and if the first number is larger than second then I interchange the number.

3. If the first number is smaller, go to step 4

4. Repeat steps 2 and 3 until the numbers are in required order

__RESULT:__ Thus the ascending order program is executed and thus the numbers are arranged in ascending order.

## No comments:

## Post a Comment