> You've never written BSF PORTA,LED when you meant BSF PORTB,LED? > Or typed BSF INTCON,INTEDG? Not that I recall. The first case is nicely taken care of with my /OUTBIT preprocessor directive. /outbit led portb 5 1 ;define LED as RB5, initialized to high . . . dbankif led_reg ;set banks for access to port with LED bit bcf led_pin ;turn on the LED ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads