> At 07:29 02/17/99 -0800, Brian Aase wrote: > >Oh BTW, do PIC C compilers manage page & bank switching by > >themselves, or are we still blessed with the "privilege" of manual > >memory management no matter what the platform is? > > AFAIK, most compiler do the paging transparently. and the banking they > usually handle once a variable is defined to be in one bank or another > (like the hi-tech). it might be, though, that there are some out there > which do this also completely transparently. MPC handles PAGE and BANK switching completely transparently by the compiler. The MPC compiler/linker's optimizer contains separate goto/call strategies for each of the variations of the Microchip PIC families. It was an interesting non trivial problem. There are tradeoff's that are not obvious. Algorithmic changes often produce shorter code than operations requiring internal paged goto's. This is often possible in logic operations where in an unpaged part the algothrim with the goto is used and in some paged parts the goto is replaced with more arithmetic. Walter Banks