At the other part of this code:
Delay movlw d'250' ;delay 250 ms (4 MHz clock)
movwf count1
d1 movlw 0xC7
movwf counta
movlw 0x01
movwf countb
Delay_0
decfsz counta, f
goto $+2
decfsz countb, f
goto Delay_0
decfsz count1 ,f
goto d1
retlw 0x00
I can't understand about the timing, i know that each instruction takes only 1us and you say that this delay loop makes a delay of 250ms ,so i can't understand ..
concerning to outer loop and inner loop i couldn't understand how it works exactly i was so confused about timing!!
what about the line (goto $+2) is that mean that we passed over to the second line follows the instruction?
Another question, when I finish these tutorials of yours,what should i learn next to be really a good programmer of PIC and use it in useful way?