John Payson wrote: > > andlw $1C > Boing: > addwf PC > > Phase0: > movf Source,w > addwf Slot0 > goto Gone > Phase1: > movf Source,w > addwf Slot1 > goto Gone Maybe I'm missing something (I must admit I did not try running this program), but isn't it true that ANDing W with $1c will produce 0,4,8,$C,$10,$14,$18, and $1C? However, the _case statements_ are only separated by three instructions. Also, how large is the variable FreqLow:Hi? If it is small, then it seems that consecutive samples will be binned together. If it is large, then consecutive samples will go to separte bins. Could you please clarify this? Thanks Scott