Hi folks, I'm having trouble understanding the include file for the PIC17C43 (p17c43.inc). I would have assumed the banked registers would have the same memory locations but this is not the case. Taking SPBRG and PIE as an example, these are both located at location 17H, the SPBRG being in bank 0 and PIE being in bank 1. Why are these listed in the include file as location 17 and 117 respectively? This include file works fine with the MPLAB simulator, however what happens when I program a 17c43 using this include file. Am I missing something? BTW. I have successfully programmed a 17C43, but modified the include file so the the banked registers were "correct". i.e. I changed the references to SPBRG (17), PIE (117), PR3H (217) and TCON2 (317) to 17 in each case and used BSR to distinguish between them. This worked ok, however it's obvious that microchip would not release incorrect include files so I must be misunderstanding something. I'd be grateful for any help on this Geoff.