>Anyway, the fact that you're trying to execute >un-programmed program memory might be the cause >of the problem here. I guess it depends on what your >programmer does with this memory. Well I guess that depends on if the programmer cleared the memory before programming the chip. However it is a good point that he has not skipped over the uncoded portion. >Just lose the second ORG (the ORG 000aH). Why? IIRC that is the second interrupt vector for an 18F series. I suspect this is possibly a second reason for the led blinking intermittently, and interrupts are un-initialised, although they are not explicitly enabled, and so should not really worry the code. The only possibility of trouble here is that the uncoded area may have something in it, but IIRC a memory word of 0xFFFF is a NOP for an 18F, but I could be wrong. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.