Hi..
I don't have a nice assembler here at work but I got debug, so I'll post some debug-code..
But first... think about how you would do that task.. normally one would use a 2 step algorithm:
[A0] n=1; x <- [n]
[A1] see if the next number is bigger... if it is take it and discard the old...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.