was the bank and page selected correctly for the fsr? John --- Josh Koffman wrote: > On 9/24/06, Jinx wrote: > > Hi Josh, you can use instructions on the fsr > registers, eg a couple > > of examples from working code > > > > clrf fsr0h > > movlw db_addr1 ;address array > > movwf fsr0l > > > > lfsr fsr0,command+0x03 ;source > > movfw phone_os > > addwf fsr0l > > That's what I thought...but when I tried it FSR0 > doesn't change in my > watch window. I wonder if it could be because I'm > single stepping with > an ICD2? > > Josh > -- > A common mistake that people make when trying to > design something > completely foolproof is to underestimate the > ingenuity of complete > fools. > -Douglas Adams > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist