ON 20010305@10:23:00 AM at page: http://www.piclist.com/techref/microchip/math/filter.htm JMN-EFP-786 James Newton added 'Archive: http://www.piclist.org/techref/postbot.asp?by=time&id=piclist\2001\02\15\221134a PICList post "standard algorithm?" Low pass filtering' ON 20010305@10:23:47 AM at page: http://www.piclist.com/techref/microchip/math/filter.htm JMN-EFP-786 James Newton added 'Archive: http://www.piclist.org/techref/postbot.asp?by=time&id=piclist\2001\01\20\133144a PICList post ": What is IIR filter?]"' ON 20010305@10:26:34 AM at page: http://www.piclist.com/techref/microchip/math/filter.htm JMN-EFP-786 James Newton added 'Archive: http://www.piclist.org/techref/postbot.asp?by=time&id=piclist\2000\06\29\030351a PICList post "Choosing the IIR coefficients. was PIC (dF/dt Gradient sle"' ON 20010305@10:29:18 AM at page: http://www.piclist.com/techref/microchip/math/filter.htm JMN-EFP-786 James Newton added 'Archive: http://www.piclist.org/techref/postbot.asp?by=time&id=piclist\2000\05\12\092329a PICList post "Digital filtering on PIC's ?" Compairison of FIR and IIR filters' ON 20010305@10:33:51 AM at page: http://www.piclist.com/techref/microchip/math/filter.htm JMN-EFP-786 James Newton added 'Archive: http://www.piclist.org/techref/postbot.asp?by=time&id=piclist\1998\11\04\114142a PICList post "Sort algorithm ?" Median Filtering' ON 20010305@10:36:42 AM at page: http://www.piclist.com/techref/microchip/math/filter.htm JMN-EFP-786 James Newton added 'Archive: http://www.piclist.org/techref/postbot.asp?by=time&id=piclist\1998\07\30\031210a PICList post "Median and Mean filtering"' ON 20010305@10:38:13 AM at page: http://www.piclist.com/techref/microchip/math/filter.htm JMN-EFP-786 James Newton added 'Archive: http://www.piclist.org/techref/postbot.asp?by=time&id=piclist\1997\09\24\002434a PICList post "Averaging Algorithm" Nice overview of IIR and FIR' ON 20010305@10:39:02 AM at page: http://www.piclist.com/techref/microchip/math/filter.htm JMN-EFP-786 James Newton added 'Archive: http://www.piclist.org/techref/postbot.asp?by=time&id=piclist\1997\05\12\140903a PICList post "help ... running average in pic asm/ 16 bit numbers?"' ON 20010305@10:42:27 AM at page: http://www.piclist.com/techref/microchip/math/filter.htm JMN-EFP-786 James Newton added 'Archive: http://www.piclist.org/techref/postbot.asp?by=time&id=piclist\2001\03\02\181129a PICList post "What is IIR filter(long)" Tutorial on DSP' ON 20010305@10:43:26 AM at page: http://www.piclist.com/techref/microchip/math/filter.htm JMN-EFP-786 James Newton added 'Archive: http://www.piclist.org/techref/postbot.asp?by=time&id=piclist\2000\06\29\103111a PICList post "Choosing the IIR coefficients. was PIC (dF/dt Gradient"' ON 20010305@10:45:07 AM at page: http://www.piclist.com/techref/microchip/math/filter.htm JMN-EFP-786 James Newton added 'Archive: http://www.piclist.org/techref/postbot.asp?by=time&id=piclist\2000\03\30\095254a PICList post "Don't use Microchip's FFT"' ON 20010305@10:50:59 AM at page: http://www.piclist.com/techref/microchip/math/filter.htm JMN-EFP-786 James Newton added 'Archive: http://www.piclist.org/techref/postbot.asp?by=time&id=piclist\1996\07\16\204705a PICList post "Audio Spectrum Analizer" Using IIR and FIR in place of FFT' ON 20010305@11:15:59 AM at page: http://www.piclist.com/techref/microchip/math/filter.htm JMN-EFP-786 James Newton added 'archive reference http://www.piclist.org/techref/postbot.asp?by=time&id=piclist\2000\08\21\110104a PICList post "Sine table" Using FIR filters as DFT' ON 20010306@4:36:59 PM at page: http://www.sxlist.com/techref/microchip/math/basic.htm JMN-EFP-786 James Newton added 'See also: http://www.myke.com/16bit.htm#div 16fxdu/8 divide routine ' ON 20010306@4:39:39 PM at page: http://www.sxlist.com/techref/microchip/math/basic.htm JMN-EFP-786 James Newton added 'archive reference http://www.piclist.org/techref/postbot.asp?by=time&id=piclist\2001\03\05\121349a PICList post "16fxdu/8 divide routine"' ON 20010306@4:40:54 PM at page: http://www.sxlist.com/techref/microchip/math/basic.htm JMN-EFP-786 James Newton edited the page ON 20010308@2:03:55 PM at page: http://www.piclist.com/techref/microchip/math/basic.htm JMN-EFP-786 James Newton edited the page ON 20010308@10:12:02 PM at page: http://www.piclist.com/techref/microchip/math/basic.htm JMN-EFP-786 James Newton edited the page ON 20010313@8:39:42 PM at page: http://www.piclist.com/techref/microchip/math/basic.htm NG--944 Nikolai Golovchenko added 'See also: http://www.piclist.com/techref/microchip/math/div10byfxp7q8.htm Divide 10 bit integer using a fixed point divisor and result (7Q8 format)' ON 20010313@8:42:05 PM at page: http://www.piclist.com/techref/microchip/math/div10byfxp7q8.htm NG--944 Nikolai Golovchenko added 'Code: ;----------------------------------------------------------------------------- ; Input: ; a1:a0 - 10 bit dividend (a0 - lower byte) ; b1:b0 - 15 bit divisor in 7Q8 format (b1 is integer, b0 is ; fractional) ; Output: ; c1:c0 - 15 bit quotient in 7Q8 format ; ; Temporary: ; count - counter ; ; Size: words ; Time: instruction cycles ; ; March 13, 2001 by Nikolai Golovchenko ;----------------------------------------------------------------------------- div_uint10_fxp7q8_fxp7q8 ;left align the dividend ; (shift accumulator left 1 bit to get the first result bit weight ; equal to 128) clrc rlf a0, f rlf a1, f ;carry is cleared here ;initialize registers movlw 15 ;15 iterations movwf count clrf c0 ;clear result - it will be used clrf c1 ;to shift zeroes to dividend div_loop rlf c0, f ;shift in next result bit rlf c1, f rlf a0, f ;and shift out next bit of dividend rlf a1, f ;to remainder movf b0, w ;load w with lower divisor byte skpnc ;if remainder positive - subtract, goto div_add ;if negative - add ;subract subwf a0, f movf b1, w skpc incfsz b1, w subwf a1, f goto div_next div_add ;add addwf a0, f movf b1, w skpnc incfsz b1, w addwf a1, f div_next ;here carry has a new result bit decfsz count, f goto div_loop ;shift in last result bit rlf c0, f rlf c1, f return ;----------------------------------------------------------------------------- ' ON 20010313@8:46:27 PM at page: http://www.piclist.com/techref/microchip/math/div10byfxp7q8.htm NG--944 Nikolai Golovchenko edited the page ON 20010313@8:48:07 PM at page: http://www.piclist.com/techref/microchip/math/div10byfxp7q8.htm NG--944 Nikolai Golovchenko edited the page ON 20010314@8:07:24 PM at page: http://www.piclist.com/techref/microchip/math/div10byfxp7q8.htm NG--944 Nikolai Golovchenko edited the page ON 20010314@8:16:12 PM at page: http://www.piclist.com/techref/microchip/math/div10byfxp7q8.htm NG--944 Nikolai Golovchenko edited the page ON 20010315@8:22:17 AM at page: http://www.piclist.com/techref/microchip/math/basic.htm JMN-EFP-786 James Newton edited the page ON 20010315@8:59:34 AM at page: http://www.piclist.com/techref/microchip/math/basic.htm JMN-EFP-786 James Newton edited the page ON 20010317@7:57:59 PM at page: http://www.piclist.com/techref/microchip/math/div10byfxp7q8.htm NG--944 Nikolai Golovchenko edited the page ON 20010317@8:00:03 PM at page: http://www.piclist.com/techref/microchip/math/div10byfxp7q8.htm NG--944 Nikolai Golovchenko edited the page ON 20010322@4:21:23 PM at page: http://www.piclist.com/techref/microchip/math/basic.htm JMN-EFP-786 James Newton added 'archive reference http://www.piclist.org/techref/postbot.asp?by=time&id=piclist\2001\03\22\090615a PICList post "Microship 24bit Floating point format question"' ON 20010322@4:22:20 PM at page: http://www.piclist.com/techref/microchip/math/basic.htm JMN-EFP-786 James Newton edited the page ON 20010322@4:25:30 PM at page: http://www.piclist.com/techref/microchip/math/basic.htm JMN-EFP-786 James Newton edited the page ON 20010322@4:27:20 PM at page: http://www.piclist.com/techref/microchip/math/basic.htm JMN-EFP-786 James Newton edited the page