hi everybody , i wanna understand the logic of this short code , i think it's easy for members who are skilled in assemply language for pic
;*** Capture guard timer ( 1 milisecound )
movlw d'2'
movwf g_time1
g_loop1 movlw d'124'
movwf g_time2
g_loop2 nop
decfsz g_time2,f
goto g_loop2
decfsz g_time1,f
goto g_loop1
;*** Capture guard timer ( 1 milisecound )
movlw d'2'
movwf g_time1
g_loop1 movlw d'124'
movwf g_time2
g_loop2 nop
decfsz g_time2,f
goto g_loop2
decfsz g_time1,f
goto g_loop1