Ahhh John, 18F don't need bank and page selection for FSRs. * | __O Thomas C. Sefranek WA1RHP@ARRL.NET |_-\<,_ Amateur Radio Operator: WA1RHP (*)/ (*) Bicycle mobile on 145.41MHz PL74.4 ARRL Instructor, Technical Specialist, VE Contact. http://hamradio.cmcorp.com/inventory/Inventory.html http://www.harvardrepeater.org -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of John Chung Sent: Monday, September 25, 2006 10:39 AM To: Microcontroller discussion list - Public. Subject: Re: [PIC] Loading the FSR on an 18F 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 -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist