I am using the device header file, and PORTF is used in the C code many times and no errors. Graham -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Douglas Wood Sent: 15 April 2003 14:53 To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: Assembler in C code? How? You will need to either: 1) Use the appropriate device header (.h) file for the processor you are using included with the compiler, or 2) Make your own definitions for the addresses, etc. that you will use in your program. The compiler was trying to tell you that you had not defined what "PORTF" was supposed to be. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body