Hey guys,

I am trying to write a 6800Emulator code to filter out numbers above say 100 and below -100. Ive read through my textbooks but it only gives an extremely relevant exercise without showing how to do it xD

"Create a 6800 program which takes an audio data array as input, and replaces audio data greater than maximum value with the maximum value and less than the minimum value with the minimum value. The data array should be terminated with 0 (assume that no audio values can be equal to this value)."

Help will by much appreciated.