Brooke wrote: > What the data sheets do not say is that PCLATH is only controled by > the programmer and not by the any of the commands. Said another way > PCLATH will only take on values that are programmed into it. Brooke: Actually the data sheets DO say this, but not directly. If you look at the descriptions of the GOTO and CALL instructions (either in the "PCL and PCLATH" section or in the "Instruction Descriptions" section), you'll see that PCLATH is never affected by those instructions. > erata for AN526: > .... > "Section 2 Implementation for the PIC 16C5X Family": > > change "Table has to be in the top half of a 512 byte page" > to "Table has to be in the bottom half of a 512 byte page." This is a semantic issue... If you look at the memory maps in the PIC data sheets, you'll see that the lowest-numbered addresses are at the TOP of the diagrams. I admit that it's confusing -- personally, I visualize the memory as you do, with the lowest-numbered addresses at the BOTTOM -- but the text in the appnote is consistent with their other documentation. -Andy === Andrew Warren - fastfwd@ix.netcom.com === === Fast Forward Engineering - Vista, California === === === === Custodian of the PICLIST Fund -- For more info, see: === === http://www.geocities.com/SiliconValley/2499/fund.html ===