> If your delay really is 250ms Daniele's code does run in simulation as 250.256ms. That equates to a 2Hz LED blink, which wouldn't appear as 'always on', so there must be something else wrong Hmmm, no sh** Sherlock The very first operation at 'start' is movlw 0x07 movwf CMCON According to the d/s, reset state of STATUS is 00011xxx, ie RP0=RP1=0 which is bank 0, so that appears OK Maybe add clrf intcon ;no interrupts -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist