Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
To help you speed up your search, the XC16x is mostly code compatible with the C167Cx from Infineon and the ST10 family as well as the Super 10 from STM. With this additional information, I hope Google becomes your friend again.
Some application Notes on the Keil website might help: https://www.keil.com/appnotes/