>> Still on topic, does picc (retail or demo) handle program code >> banking (for programs greater than 256 bytes on an F877)? Are >> there compiler directives to assist in program code banking? Or >> is it all manual register coding? > >You have to add a bankX directive to move variables into a different bank. Ah I see it now... the PICC demo didn't come with their manual then I found the manual on their website, with the bankX directive. But I'm asking about -code- banking. I'm fighting to keep the app under 256 bytes because PCL is just 8 bits and I don't see any special handling at that barrier in the ASM. Initially I'd like to move my PWM and multitask init() routines to an upper page because they only get called once. I don't see any other bank related directives in the online manual. - Bri P.S. I guess I sent the previous message privately - I meant it to go to the list. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads