>Unfortunately, I don't remember much
While interesting (well, not really), your post has no meaningful content relevant to this thread. If you're incapable of helping, there's no point in posting to inform everyone of it.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
So it doesn't seem as if I'm just posting to complain, how have you tried to solve the problem so far? If there are always five numbers, you can brute force it without too much code, or you can write a more general sorting solution. Because you're moving the data to a different memory location, you would probably be best off using an insertion sort.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
>The program is easy to be made in other languages but not in 8085.
How so? 8085 supports the necessary instructions to write a sorting algorithm.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401