On Mon, 19 Aug 2002, Bob Ammerman wrote: > > Er.... > > > > My last response is STILL not right.... > > > > bit FSR0,7 is not implemented and always reads as zero. > > Ok Scott, what is the answer? Well, I don't know about *the* answer, but here are a couple of ideas: lfsr 0,0xf7f loop1 clrf postdec0 tstfsz fsr0h bra loop1 loop2 clrf postdec0 tstfsz fsr0l bra loop1 clrf postdec0 or a slow solution lfsr 0xf7f loop clrf postdec0 movf fsr0l,w iorwf fsr0h,w bnz loop clrf indf0 or lfsr 0xf7f loop clrf postdec0 movf fsr0h,w bnz loop tstfsz fsr0l bra loop clrf indf0 Scott -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu