Hi, My efforts leads to results ! attached you will find a averaging Median-Filter. It works by tagging the 4 most high and 4 most low values of a given set (16 Values) the remaining Values get averaged. It4s current implementation is 8Bit wide and the buffer holds 16 Values. the 8 Values in the middle are averaged. execution time @ 4 Mhz aprox. 2.3 ms Comment`s refers to a BASIC version I posted approx 2 weeks ago. All comments, and sugestions are welcome. If someone have Ideas for a speed-up - let me know. Kind regards Stefan Sczekalla-Waldschmidt ssw@oikossw.de Content-Type: application/x-unknown-content-type-ASM_auto_file; name="median2.asm" Content-Disposition: inline; filename="median2.asm" Attachment converted: wonderland:median2.asm (????/----) (000219F8)