View Single Post
Old Jun 29th, 2006, 12:11 AM   #8
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
Quote:
Originally Posted by mrynit
I dont know ASM but cant you make a list of the numbers then sort that list so the first or last numbers are the smallest and then grab those numbers? maybe try doing the ordering function in high level then porting it to ASM.
When you know what you're looking for, a list is pointless. Keep only enough variables for what you want to end up with, and compare each new value to see if it should take the place of what's in the variables. At the end, you should end up with what you want.
__________________

tempest is offline   Reply With Quote