James Nick Sears wrote: > > On page 16 (PDF page 18) of the PIC10F200 datasheet ( > http://ww1.microchip.com/downloads/en/devicedoc/41239A.pdf ) it says > > "The General Purpose Register file is accessed, either directly or > indirectly, through the File Select Register (FSR). See Section 4.9 > "Indirect Data Addressing: INDF and FSR Registers" > > Does this mean that an instruction like > > movwf 0x18 > > will not work, and that everything has to go through FSR and INDF, or > just that indirect addressing is available? What they're getting at is that (unlike midrange parts), on baseline PICs, like the 10Fs, FSR plays a role in both direct and indirect addressing. Why? It's because the bank selection bits are the top three bits of FSR. That can be a real pain - it's an annoying limitation of that architecture, although only really restrictive if you're trying to mix direct and indirect register accesses, when more than 1 bank is involved. If you're not doing any indirect access, don't worry about it - just use "banksel" as usual, and all will be fine. David Meiklejohn www.gooligum.com.au -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist