It does exist at the location where the -I flag points to, and is readable. I have programed PICs (only F84 and F628) only in assembler before. I have already written a version of working program in assembler. Now I want to write the same logic in C. I want to see how the two compare. I am not new to C but I am new to programming microcontrollers in C. --- Jan-Erik Soderholm wrote: > Hasan A. Khan wrote : > > > Executing: "C:\Program Files\bknd\CC5X\CC5X.EXE" > > SAMPLE1.C -CC -fINHX8M -p16F628 -I"C:\Program > > Files\bknd\CC5X" -a -L -Q -V -FM +reloc.inc > > Error : Unable to open file 'reloc.inc' > > > > why can't the compiler find it? > > Does it exist at all ? > > Jan-Erik. > > PS: > You also wrote : > " One thing I learned was that I didn't have to use > assembler..." > > No, but why not ? > You are using a 16F628. Not that much memory. And > you'll > probaby learn the chip faster with assembler then > with C. > Have you written anything in (PIC) assembler ? > > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -Hasan -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist