main
bsf STATUS,5
clrf TRISA
bcf STATUS,5
clrf PORTA
bsf STATUS,5
movlw b'11010111'
movwf OPTION_REG
bcf STATUS,5
bsf INTCON,T0IE ;habilitar int t0
bsf INTCON,GIE ;habilitar int general
bsf PORTA,1
movlw 0x3c ;primera carga del timer0
movwf TMR0 ;aquí debería lanzarse la temporización
loop
;clrwdt
goto loop