Re: pic16f84 problem?
OK, I have to admit it's puzzling.
But...
I simulated this last code and I noticed that it can take up to 40sec. for the LED's to go off, assuming that the resistor and capacitor values for the external RC oscillator are 10k/27pF.
Are you sure you waited long enough for the LED's to go off?
Can you check the oscillator frequency? It should be about 5MHz, but if it's lower then the time will be even longer.
So first off, wait a little longer to see if the LED's go off.
Or, change the delay loops, maybe remove the last loop, to make things happen faster.
(I also noticed you do not initialize the counters; that is not healthy, you should always know where you start counting).