SDCC : pic14 3.0.6 #6994 (Oct 30 2011) (Linux)
This enhanced PIC14 has no FSR reg and INDF reg. It has two FSRx and INDFx registers. When I try to compile the attahed file, I get error message about missing INDF and FSR. Probably it is my fault, because I made some modification on the SDCC code to compiling code for 16F1938 device.
The problem is the same with the interrupt routine. The compiler want to save registers ( including FSR ) which are automaically saved by the hardware.
Log in to post a comment.