@wp100
**broken link removed**
Please forget easy delay generators .
I've tried a lot of generator. all generators are different . I am annoyed about this situation.
So. I need more maths operation for truely delay loops.
@paulfjujo
Let me match our math operation .
Let's write the number of the instruction against the code
Code:
DELAY
MOVLW H’50’ 1
MOVWF Count1 1
Loop1
DECFSZ Count1,F 2+Count1-1 =1+count1
GOTO Loop1 2x(count1-1)= 2xcount1 -2
RETURN 2
total = 2 + 1+count1+2count1 -2 +2
total = 3+3count1
total = 153instruction cycle .
please do math operation by same way.