mc68000 find min and max values

Hey everyone, I need to write a simple program for the mc68000 that looks at eight numbers and finds the min and max values. I am new to this game and would like some pointers. Any help and hints appriciated.


  • You start with a value [italic]x[/italic]. Initially you set [italic]x[/italic] to the smallest possible value then compare it against all your numbers. If you find something greater than [italic]x[/italic], set [italic]x[/italic] to that value. By the end, [italic]x[/italic] will contain the maximum. Do the same thing only different for minimum.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion