On Oct 18, 2004, at 5:04 AM, Mcgee, Mark wrote: > > I've been wondering how would you move along a buffer/array, reading or > writing to each location in a loop? I can't see any obvious indirect > memory > access instructions in the reference manual. > > Check out the INDF and FSR registers. When you use INDF as a source/destination register, it actually returns the contents of the register addressed by FSR. Described in section 4.4 of the pic16f628a datasheet. > Is there some 16-bit address to set, and some indirect > instruction or something? It's sorta like an indirect addressing peripheral :-) BillW _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist