For a pic16F84A running on 4Mhz xtal the following code is not produning delay as expected. It is giving much more longer delay than expected. any help? Thanks in advance.

DELAY MOVLW  b'11010111'
movwf   OPTION_REG
          clrf   TMR0
AAA MOVF   TMR0,w
XORLW   .250
          btfss  STATUS,Z 
GOTO AAA       
        RETURN   
Posted on 2011-10-20 16:24:09 by papunblg
What about WDT?
Posted on 2011-10-30 15:36:48 by MikDay