Hey, i've tried several programs already on proteus and none of them have worked, as soon as it reaches the point where the delay is called it stays there, stock, and won't do anything else, i've ran programs that used to work but don't now. Whats going on?
Code:
list p=16f84A
include <p16f84A.inc>
__CONFIG _CP_OFF & _WDT_OFF & _PWRTE_ON & _XT_OSC
org 0
TIME1 EQU 0Eh
BSF 03h,5
MOVLW B'00000'
MOVWF 85h
BCF 03h,5
START
MOVLW B'00001'
MOVWF 05h
CALL DELAY1
MOVLW B'00010'
MOVWF 05h
GOTO START
DELAY1
MOVLW D'255'
MOVWF TIME1
DEC
DECFSZ TIME1
GOTO DEC
RETURN
END