On Mon, Oct 18, 2004 at 04:19:07PM +0100, Mcgee, Mark wrote: > Hi BAJ. > > Thanks for the help. I thought there must be something like that, given there > is no indexing register or indirect opcode. > > I assume that once the FSR and (IRP-status bit 7 - looked it up) have been > set, by referencing location INDF with clrf or movlf etc will perform the > indirection for you? > > I like the 'no bankswitching' technique. Limited bankswitching... as IRP is still required. FSR/INDF basically saved me when I wrote the interpreter for my NPCI compiler. I'd load the target address into FSR and then use INDF to access that target. BAJ _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist