jan-erik.soderholm@TELIA.COM writes: > EBoggs@AOL.COM wrote : > > > When a subroutine in page 1 calls a subroutine also in > page 1, > > does the page bits need to be set? > > Not if there already are set correctly. > And (probably) not if you are using a PIC18-series PIC... > > I'd guess that better answers needs more information. > > What PIC ? > Why do you ask ? > Are you having a problem with a call ? > Any specific code snippet that doesn't work ? > > Regards > Jan-Erik. thanks for replying - the pic is a 16f873, I had my code working all in page 0 and then it grew to a beastly size and I needed page 1. I put all the PC comm stuff in page 1 and now she locks up after printing a few garbled characters. I really haven't tshot it yet. Took a look at the PIC book and it was not explicit on paging methods. I have always tried to fit my code in page 0. Now I am migrating to a 16f876 and need to get my paging facts strait. I always thought they should have a compiler that takes care of this for you other than annoying error messages. thanks in advance ed boggs -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads