Why particularly do we need to restore the page bits? I thought these are only important when: doing a long call, long goto, or otherwise manipulatiing the PCLATH register, say when doing a long table look up? David Andrew Warren wrote: > David Cary wrote: > > > Did you know about the > > LCALL > > LGOTO > > pseudo-ops ? They do everything your page macros do, and they're > built > > into MPASM. > > David: > > MPASM's LCALL pseudo-op doesn't restore the page bits after the > subroutine return. > > -Andy > > === Andrew Warren --- aiw@cypress.com > === IPD Systems Engineering, CYSD > === Cypress Semiconductor Corporation > === > === Opinions expressed above do not > === necessarily represent those of > === Cypress Semiconductor Corporation > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics