« Reply #1 on: January 08, 2011, 03:07:04 pm »
Unfortunately this compiler hides a lot of the setup code in the inbuilt functions or header files that are included at compilation. I have recently bought the EasyPIC6 board myself but I will not be using the bundled compiler. I much prefer CCS PCM or Hi-Tech Lite (included with Mplab) as they are more flexible.
Have a look through the assembly listing (file extension .lst or .asm) and check if there are any assembly instruction sequences similar to code snippets in the Microchip datasheet. The microchip forum is another source of help.
David.
Logged
David
Hertfordshire, UK
University Electronics Technician, London, PIC16/18, CCS PCM C, Arduino UNO, NANO,ESP32, KiCad V8+, Altium Designer 21.4.1, Alibre Design Expert 28 & FreeCAD beginner. LPKF S103,S62 PCB router Operator, Electronics instructor. Credited KiCad French to English translator