>Been a while since I messed with MP-lab > >How do you define the SFRs so the assembler knows what "FSR" etc are. >I have a processor directive, but apparently it takes more than that. The best way is to find the "include" file for your processor; mine is called p16f874.inc, for example. Look in the MPLAB directory. Put the line include in your source. Alternatively you can "lift" out your favorites, or define your own. Here's a clip from mine: STATUS EQU H'0003' FSR EQU H'0004' PORTA EQU H'0005' Barry -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.