> Hmm... I thought someone had told me that 18F parts didn't require > banking. *coughs* Uh... Nevermind... Use a macro or something. The 18f's have roughly the same banking structure as other PICs, just bigger. There is 160 bytes of special function registers (that is all SFR's, unless you want to use CAN), plus 96 bytes of general-purpose RAM, both always available (think of it as appearing in all banks, even though uChip uses a different description). Besides this there is a 256 byte bank that can point at 256 byte boundaries in the total address space. So without worrying about banking (just set up the bank bits once) you have all FSRs (except CAN) plus 353 bytes RAM available (that is almost as much as the total available on an f877). But the 18f's have a total of 768 or 1536 bytes RAM, so sooner or later you will have to start banking.... -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads