Write a program to sort given 10 numbers from memory location 2200H in the
descending order. include a flowchart and an explanation.
Before execution:
2200H = 04H
2201H = 06H
2202H = 09H
2203H = 02H
2204H = 05H
2205H = 0AH
2206H = 01H
2207H = 08H
2208H = 07H
2209H = 03H
After execution:
2200H = 0AH
2201H = 09H
2202H = 08H
2203H = 07H
2204H = 06H
2205H = 05H
2206H = 04H
2207H = 03H
2208H = 02H
2209H = 01H
0 comments:
Post a Comment