The following may be useful to any of you who use / would like to use Emacs for editing their .asm make a batch file with somthing similar to this in it, subsituting the path as appropriate; @c:/PROGRA~1/MPLAB/MPASMWIN.EXE /p16F877 /q %1.asm @type %1.err then put the code below at the bottom of your asm file, replacing FILENAME with the name of the asm file. C-c C-c should now compile your code & give you pointers to any bits you need to change. Simon ; Emacs PIC ASM mode bits ; the regexp below will pick out any messages / errors ;Local variables: ;compile-command: "makepic FILENAME" ;compilation-error-regexp-alist: ((".*] *\\([^ ]+\\) *\\([0-9]+\\)" 1 2)) ;End: -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics