Hi, what you wrote is not a concern for 16C84 generally except using table read. You can put subroutines wherever you want, with one exception: if you modify PCL, then the memory address should be in the 1st half of an 512-byte page. RP0 selects memory bank (nothing to do with program memory), and RP1 is unused. I guess your information may have been intermixed with that for 16C5x chips. I hope this helps. Imre On Mon, 3 May 1999, Andreas Magnusson wrote: > Hi! > > I have never really understud how to use the subroutines and the memory in a PIC16F84 correct. > > I knew I have to put subroutines in the lower area of each memoryblock. How shall I do exactly. > > Can I put a subroutine in the "lower area" and with a goto instruction go to another place in the memory and continu the routine there....?... :-? > > And the memory I have read about«"long calls" and stuff like that where you have to change the RP0, RP1 status bits. Can't really say I understund anything... > > When do I have to think about the "memory placement" when I am writing assambles? > > > If anyone want's to explaine this for me I would be very happy! > > /Andreas Magnusson >