Hi, Firstly, I would like to thank all those that have helped me with my FIR filter program. Its now working 99% or maybe its 100%, but I am having one problem, I am using MPLAB to simulate the program. I am using to assign a value for PORTB, which is supposed to be the simulated version of the ADC. However, the program keeps using this as zero. If I force a value into uk, then try and run the program, then I have success, I suspect the problem lies with initialization [or possibly in the main program], I would appreciate it if somebody could have a look... Thanks in advance for your replies. Regards, Saurabh Content-Type: application/octet-stream; name="latest1.asm" Content-Disposition: attachment; filename="latest1.asm" Attachment converted: growth:latest1.asm (????/----) (00008E8C)